- You can set the datasource attribute on the entity-deployment tag in the orion-ejb-jar.xml for the entity bean.
- You can set the default-datasource attribute on the orion-application tag in the orion-application.xml. If set here and not set in the orion-ejb-jar.xml the entity bean will use this datasource (all entity beans in the EAR file will use this data-source). If set here and in the orion-ejb-jar.xml then the value from the orion-ejb-jar.xml will be used.
- You can set the default-datasource attribute on the
orion-application tag in the $ORION_HOME/config/application.xml. If not
set in the EARS orion-application.xml or the entity beans orion-ejb-jar.xml
this value will be used.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 1:04 PM
To: Orion-Interest
Subject: Container Managed Bean Persistence
Hi all
Can someone please tell me how Orion knows what datasource to associate
with a container managed entity bean. I follow how to setup container
managed fields but I don't understand how to relate it to one of several
datasource entries that I have setup.
Thanks
Title:
You have a few options
on this one....
- Container Managed Bean Persistence APapada
- Re: Container Managed Bean Persistence Rian Schmidt
- Trujillo, Kris
