You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Jean-Louis MONTEIRO <je...@atosorigin.com> on 2010/09/16 14:30:50 UTC

Re: Openejb + mysql

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.