Hello Thomas, My url is : jdbc:h2:file:/path_to_file;DB_CLOSE_DELAY=-1
I noticed though that this issue is most probably caused in case where the table contains mixed data (i.e some lobs stored in files and others internally) which did happen in my case since I did not useSCRIPT and RUNSCRIPT before testing out the feature. Hence you can replicate by doing the following: 1) Start with h2.lobInDatabase=false, create a table that contains a lob column and insert some data 2) Close the DB. Start again with h2.lobInDatabase=true and store some more data 3) When trying to select all of the rows then the exception occurs. Hence it is most probably my fault that I did not re-created the database before testing out the new feature and I guess you are not planning to support mixed modes on this. Thanks for your time, Best regards, Panayiotis Vlissidis On Thu, May 20, 2010 at 11:08 PM, Thomas Mueller < [email protected]> wrote: > Hi, > > I have a question. What is your database URL? Is it possible that the > connection is closed already when trying to read the lob? I'm > wondering how I could reproduce the problem... > > 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.
