tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Humm <b.h...@fbi.h-da.de>
Subject Re: Inspect database when using embedded OpenEJB
Date Wed, 22 Oct 2008 10:15:47 GMT



David Blevins wrote:
> 
> 
> In OpenEJB 3.0, when using the supplied HSQL datasource in a TestCase  
> we should be using an in memory database with the JdbcUrl of  
> "jdbc:hsqldb:mem:hsqldb".  In OpenEJB 3.0 that sometimes worked and  
> sometimes didn't (depending on if you had a conf/ directory in your  
> openejb.base path), in which case the files were written to disk and  
> the JdbcUrl ended up as "jdbc:hsqldb:file:data/hsqldb/hsqldb" which  
> would be relative to your openejb.base path as in "${openejb.base}/ 
> data/hsqldb/hsqldb".
> 
> In OpenEJB 3.1 we have a better way of detecting when we are running  
> embedded and the JdbcUrl will always be "jdbc:hsqldb:mem:hsqldb"  
> unless explicitly changed.
> 
> ...
> 
> 

Dear David,

thank you for your detailed answer. However, it indeed does not work with
OpenEJB 3.0 in my case. Is there a way of getting OpenEJB 3.1 to test
whether it works with the new release?

Regards
        Bernhard

-- 
View this message in context: http://www.nabble.com/Inspect-database-when-using-embedded-OpenEJB-tp20071160p20107772.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message