Or perhaps, for time of test execution, access DB through Network Service . But it's just an idea...
Matthew Hauck <email@example.com> writes:Hi Matt,
> I am writing about the well known error: "Failed to start database
> '...' with class loader ..." I realize that you cannot have two
> simultaneous connections from two different JVMs to a derby embedded
> database. My question is whether or not it is possible to disconnect
> / "unload" / "unboot" one connection in order to load up the other
> one, etc. Or does the first JVM have to entirely stop before the next
> one can make a connection?
You can shut down a database without stopping the JVM, and then it
should be possible to boot it in another JVM. Details here: