check out the following link....Spec says its fully possible, but im not
sure if Orion has support for it...
http://java.sun.com/products/ejb/EJBErrata.fm.html
Here is an example
<resource-ref>
<res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
This is what you define in the deployment descriptor....
If not you can set it in orion-ejb-jar.xml manually or make sure the
selected DS is the first
defined in config/data-sources.xml file....
But the first one is the spec way of doing it....
Have fun..
Klaus Myrseth
-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sendt: 15. november 2000 18:52
Til: Orion-Interest
Emne: specify datasource for entity bean
Hi,
I may have missed it in the docs but I can't figure out how to configure
the datasource a CMP entity bean uses for persistence. I can change the
orion-ejb-jar.xml file that is auto-created when the beans are deployed but
how can I change it _before_ deploying the bean?
Thanks,
Ted Slusser