Hi all. it is possible declare a datasource with resources.xml into
META-INF/resoures.xml for get the entity and the persistence all inside a
ejb.jar ???????
It work ??
So i not have to declare the datasource int oweb application .
Nexdt the web application call the ejb deployed int othe ejb.jar .
or i have to desclare it int oejb-jar.xml with :
<data-source>
<name>java:module/ExampleDS</name>
<class-name>org.apache.derby.jdbc.ClientDataSource</class-name>
<server-name>localhost</server-name>
<port-number>1527</port-number>
<database-name>exampleDB</database-name>
<user>examples</user>
<password>examples</password>
<property>
<name>create</name>
<value>true</value>
</property>
<property>
<name>weblogic.TestTableName</name>
<value>SQL SELECT 1 FROM SYS.SYSTABLES</value>
</property>
</data-source>
a example with all packaged int ejb.jar? (both datasource daeclaration and
persistence.xml that references it?
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504.html
Sent from the TomEE Users mailing list archive at Nabble.com.