geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <gianny.dam...@optusnet.com.au>
Subject Re: How to deploy an EJB module contains CMP EntityBeans with multiple datasources
Date Wed, 22 Nov 2006 21:00:35 GMT
Hi,

This is not supported by OpenEJB. Also, it seems to me that adding  
such a feature has some implications. For instance, EJBQL involving  
entities using under the cover distinct datasources would be broken .  
Based on this fact, it seems to me that entities using a specific  
datasource should not be mixed in with entities using another  
datasource. So, it may be best to have only one datasource for a  
given EJB JAR.


Thanks,
Gianny


On 22/11/2006, at 12:46 AM, alien.qiao@kodak.com wrote:

>
> Now a have an EJB module, which has two CMP EntityBeans, each refer  
> to a datasource. How can I define them in one openejb-jar.xml? Or I  
> must seperate them?
>
> I know that in openejb 1.0 it's impossible, but what about it now.


Mime
View raw message