As SQL statements or not, Actually I would like to programmatically dump sqlite databases for testing purpose:
My application generates and fill databases, then read but the focus is on the writing step. In order to check that no regression was introduced, I compare databases generated with a development version in one hand, and a reference in the other hand. My tests run from ant scripts, so java or ant are Ok for me. Perhaps dbunit is the right one, but I did not check it yet... Thomas 2008/5/30 David Crawshaw <[EMAIL PROTECTED]>: > > 2008/5/29 thomas diligent <[EMAIL PROTECTED]>: > > Is there a way to dump a database through sqlite jdbc ? > > As SQL statements? No obvious way is built into the driver. If you > want a binary dump, I suggest closing all connections and trying: > > new FileInputStream(dbfile) > > d. > > > > --~--~---------~--~----~------------~-------~--~----~ Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---