Jean T. Anderson wrote:
Legolas Woodland wrote:
Hi
Thank you for reading my post.
how i can dump a derby database into a sql file for later use?
I mean i dump a database into sql file and give it with my
application to users , they can import it into thier database and
make all structure and date.
Hi, Legolas,
Derby has a really easy way to do this. The Derby database files
themselves are platform-independent. This means you can zip/tar up the
Derby database directory (in its entirety) and send it to somebody.
All they have to do is unzip/untar it. They then have the database
already built and populated.
But the important thing it to make sure that you package up the entire
database directory hierarchy.
regards,
-jean
Thank you for reply.
but unfortunately , project requirement is to supply an sql file with
initial structure and data.
can you suggest any solution to have an sql dump ?