tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@gmail.com>
Subject Re: Multiple persistence units, multiple data sources
Date Wed, 27 Jun 2012 16:55:22 GMT

On Jun 27, 2012, at 3:46 AM, Stevo Slavić wrote:

> Then I
> upgraded openejb too, from 3.1.4 to 4.0.0 but not all tests are passing.
> To be more specific there is 1 passing, and 2 failing tests, all in same
> module using shared jndi.properties, persistence.xml, and ejb-jar.xml
> In jndi.properties (see [1]) two data sources are configured for openejb to
> create.

Did you by chance also change from using the `new IntialContext` approach in the test case
to using the new `EJBContainer.createEJBContainer` approach?

(not bad, we just need adjust the test setup)


-David


Mime
View raw message