db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: JVM memory settings for running suites.All
Date Wed, 06 Jul 2011 17:55:00 GMT
On 7/6/2011 9:35 AM, Knut Anders Hatlen wrote:
>
> We should, but we just shut down the engine, we don't deregister the
> driver in DriverManager, so the classes stay in memory forever. It's a
> bit tricky to get the old versions unloaded. Simply calling
> DriverManager.deregisterDriver() in the test tear-down won't work, since
> it'll only let you deregister drivers in the same class loader as the
> caller, and the test framework and the old drivers are loaded in
> different class loaders.
>
If we used DataSources for the upgrade tests would we avoid this problem 
or would the autoloaded driver still get loaded?



Mime
View raw message