Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2017-01-11 Thread Noel Grandin
I have pushed a fix for this, thanks for the test case -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To post to this

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2017-01-03 Thread Noel Grandin
http://h2database.com/html/features.html?highlight=AUTO_SERVER=auto_server#auto_mixed_mode I'm one holiday, not likely to get to this bug for a couple of weeks ​ -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2017-01-03 Thread 'Andreas Knees' via H2 Database
Is it OK to use this connections string in tomcat (i.e. multi threaded, using connection pool) environment? jdbc:h2:~/mydb;AUTO_SERVER=TRUE; May I access the database also from another JDBC-Tool with the same connection string while tomcat is running / not running? May the database become

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2017-01-02 Thread 'Andreas Knees' via H2 Database
Hi Noel, happy new Year! Any updates on this issue? Best regards Andreas On Friday, December 23, 2016 at 8:16:18 PM UTC+1, Andreas Knees wrote: > > Hi Noel, > > I extracted the bug to a single servlet application. You may clone it on > GitHub (sorry for

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2016-12-23 Thread 'Andreas Knees' via H2 Database
Hi Noel, I extracted the bug to a single servlet application. You may clone it on GitHub (sorry for the project name ;-). I have added a description how to set up the project and how to run it. Best regards Andreas On Friday, December 23, 2016 at

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2016-12-22 Thread Noel Grandin
Hi I think I know what is going wrong here, but I'd really like to add a test case to make sure. Is it possible you could reduce this to a standalone test case? There is something about the combination of things that you are doing in that transaction that is triggering a problem, and

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2016-12-22 Thread 'Andreas Knees' via H2 Database
Thank you for your reply, Noel. On Friday, December 23, 2016 at 7:19:08 AM UTC+1, Noel Grandin wrote: > > there seem to be some chunks missing from the stack trace which makes it a > little tricky to see why things are going wrong. > > Here is the whole thing: 2016-12-23 00:46:03 jdbc[3]:

Re: [h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2016-12-22 Thread Noel Grandin
there seem to be some chunks missing from the stack trace which makes it a little tricky to see why things are going wrong. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send

[h2] H2 database in tomcat environment throwing RuntimeException “unexpected code path” on select sequence.nextval

2016-12-22 Thread 'Andreas Knees' via H2 Database
See also this StackOverflow question I am using H2 database h2-1.4.193 as datasource in tomcat. This is my server.xml entry: I use this datasource for both the