Thank you, Urs Peter! That solved it for me. Wasn't very obvious what was happening.
On Friday, September 7, 2012 4:19:44 PM UTC-6, Urs Peter wrote: > > I had the same problem. Using the additional attribute'DB_CLOSE_DELAY=-1' > fixed it for me. > example: jdbc:h2:mem:datajpa;DB_CLOSE_DELAY=-1 > More resources: > http://boplicity.nl/confluence/display/Java/Unit+testing+JPA+-+Hibernate+components+with+in-memory+H2+database > > > > Op dinsdag 30 augustus 2011 19:46:53 UTC+2 schreef Thomas Mueller het > volgende: >> >> Hi, >> >> To find out if the database is closed between the calls, could you try >> what happens if you use a a persistent H2 database? (database URL >> jdbc:h2:/data/db/test or so). >> >> Regards, >> Thomas >> >> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
