Hi,

not sure to really understand the question/problem.
Your persistence.xml file must point to a JTA datasource container managed.
So, first you need to define your datasource in the openejb.xml file.
Then, thoughtout the jta-data-source tag, you can just reference the
datasource.

Have a look to the sample "injection-of-entitymanager".

Hope it helps
Jean-Louis
-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/Openejb-mysql-tp2541376p2542077.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to