Le 22/02/2010 18:56, Thomas Mueller a écrit : > Hi, > > As described in the change log at > http://www.h2database.com/html/changelog.html version 1.2.129 does not > support databases created by earlier versions of H2 (the old database > file format). > > See also the error message: "Old database: ... please convert the > database to a SQL script and re-create it". > > I wrote a a tool to migrate an old database from the non-page store > format to the newest version: > http://h2database.googlecode.com/svn/trunk/h2/src/tools/org/h2/dev/util/Migrate.java > Ok, thank you for your response.
I didn't noticed the change. Last question. I need to do this migration automatically. Is there a way to known if migration is needed before opening database ? Or catching this exception is the only way ? Thanks Regards. > Regards, > Thomas > -- Éric <[email protected]> Tel: 02 40 50 29 28 http://www.codelutin.com -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
