On Mar 17, 2:58 pm, Tim <[email protected]> wrote: > On Mar 17, 2:48 pm, Thomas Mueller <[email protected]> > wrote: > > > > > Hi, > > > It's strange nobody ran into this problem so far. I use Windows and > > never did. It's a problem converting '/' to '\' or back. I guess it > > will work when you use > > > jdbc:h2:file:C:\PECImageSearchDB\PECImageSearchDB > > > (if used in Java code you have to double the \: String url = > > "jdbc:h2:file:C:\\PECImageSearchDB\\PECImageSearchDB") > > > This check code was removed in version 1.2.127 (2010-01-15). So if you > > use this or a newer version, it should also be solved. > > > Regards, > > Thomas > > I still get the same error with "jdbc:h2:file:C:\\PECImageSearchDB\ > \PECImageSearchDB". > > I'm currently running 1.1.118. I'll try downloading 1.2.127 to see if > it fixes it. > > It's strange because it has worked fine in the past with > "jdbc.h2:file///c:/PECImageSearchDB/PECImageSearchDB". It just > started throwing this yesterday. Hopefully 1.2.127 will help. > > I'll let you know.
I downloaded 1.2.131 and now get a message stating that my database isn't the correct version: org.h2.jdbc.JdbcSQLException: Unsupported database file version or invlid file header in file "Old database:C:\PECImageSearchDB \PECImageSearchDB.data.db - please convert the file to a SQL script and re-create it".[90048-131] -- 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.
