Hi, What database URLs do you currently use?
Maybe we should add a way to auto-delete the database file if it is closed? This could be done in the file system abstraction, for example using the prefix "autoDelete:", so that a database URL would look like "jdbc:h2:autoDelete:./target/db/test" (using a relative path in this case, which should be OK for unit tests). Regards, Thomas On Wed, Apr 8, 2015 at 9:20 AM, Noel Grandin <[email protected]> wrote: > > > On 2015-04-07 10:32 PM, Steve Ebersole wrote: > >> One thing that really hurts, that maybe you have some thoughts on dealing >> with, is that once I removed MVCC from the >> connection URL in one place other tests (mainly other subprojects) that >> still use the connection URL with MVCC start >> failing thinking I am trying to change the MVCC setting of an already >> existing database[1]. Really each can use its own >> database. Do you have any thoughts/suggestions on making sure one >> database is closed and another is opened around >> testsuites for a project? >> > > We run a deleteDb() command at the end of every test to make sure there is > nothing left lying around to trip up the next test. > > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
