While Derby doesn't have the ability to create a SQL script to regenerate an existing database built-in, there are third-party utilities that do. SQuirrel SQL is a graphical SQL client which supports Derb, and (with an included plug-in) can generate SQL for recreating tables and populating them with data.
For more information on SQuirreL and Derby you can take a look at http://db.apache.org/derby/integrate/SQuirreL_Derby.html - it also has links to downloads. =) Hope this helps, -- Anders Morken My opinions may have changed, but not the fact that I am right!
