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, [EMAIL PROTECTED] 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.

Reply via email to