oh yes, I'm so sorry ! There were actually 2 projects built in the same classpath of my eclipse project :( and the one I didn't want contained an old 1.2.122 !!! thank you very much for your quick help ! fred
2011/4/7 Thomas Mueller <[email protected]> > Hi, > > The "[*-122]" in the error code is the build number. All error codes > that end with [...-122] are generated by H2 version 1.2.122, there is > no doubt about that. I guess you have two versions of H2 in your > classpath, and the JVM picks the wrong one. > > > I've the following error : > > org.h2.jdbc.JdbcSQLException: General error: > > java.lang.RuntimeException: parent not found:20 [50000-122] > > > Unsupported database file version or invalid file header in file > /blablabla/database_name.h2.db [90048-122] > > In this case, you are using H2 version 1.2.122 from 2009-10-28. > > > File not found: "/blablabla/database_name.lobs.db/ > > 10.t20.lob.db" [90124-154] 90124/90124 > > Here, you are using H2 version 1.3.154. This can only happen when > trying to access a BLOB or CLOB (if the file is not found). By > default, for new databases, H2 version 1.3.x does not create such > separate files for BLOB and CLOB data any more. Maybe the problem has > existed before, but the row wasn't accessed at that time? > > I guess it makes sense to re-create the database using the newer > version. For how to do that, see > http://h2database.com/html/features.html#compacting > > Regards, > Thomas > > -- > 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. > > -- 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.
