If you only use JPA it should be adjusted automatically. If not you have a particular case. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-02-11 7:26 GMT+01:00 mauro2java2011 <mauro2java2...@gmail.com>: > I use jpa . So i jave reference at it with > <jta-datasorce>nameofdatasourcelikedeclaredintoresource_xml></jta-datasource> > Il giorno 11/feb/2014 00.07, "Romain Manni-Bucau [via OpenEJB]" < > ml-node+s979440n4667631...@n4.nabble.com> ha scritto: > >> You lookup the ds? If no injection or it will surely not match directly. >> Maube define it in web.xml >> Le 10 févr. 2014 20:14, "mauro2java2011" <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=4667631&i=0>> >> a >> écrit : >> >> > I use for declare datadource into a jsf apps with ejbs and primefaces >> > Il giorno 10/feb/2014 19.21, "Romain Manni-Bucau [via OpenEJB]" < >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4667631&i=1>> >> ha scritto: >> > >> > > depend how you use resources...without info no answer :p >> > > Romain Manni-Bucau >> > > Twitter: @rmannibucau >> > > Blog: http://rmannibucau.wordpress.com/ >> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau >> > > Github: https://github.com/rmannibucau >> > > >> > > >> > > >> > > 2014-02-10 19:13 GMT+01:00 mauro2java2011 <[hidden email]< >> > http://user/SendEmail.jtp?type=node&node=4667618&i=0>>: >> > > >> > > >> > > > Into many web apps i have put the reosurces.xml file into web-inf >> and >> > > int >> > > > othe file i have added >> > > > the declaration of db >> > > > but into other not work >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > View this message in context: >> > > >> > >> http://openejb.979440.n4.nabble.com/resources-xml-file-location-tp4667617.html >> > > > Sent from the OpenEJB User mailing list archive at Nabble.com. >> > > >> > > >> > > ------------------------------ >> > > If you reply to this email, your message will be added to the >> discussion >> > > below: >> > > >> > > >> > >> http://openejb.979440.n4.nabble.com/resources-xml-file-location-tp4667617p4667618.html >> > > To unsubscribe from resources.xml file location, click here< >> > > >> > > . >> > > NAML< >> > >> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml >> > > >> > > >> > >> > >> > >> > >> > -- >> > View this message in context: >> > >> http://openejb.979440.n4.nabble.com/resources-xml-file-location-tp4667617p4667626.html >> > Sent from the OpenEJB User mailing list archive at Nabble.com. >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://openejb.979440.n4.nabble.com/resources-xml-file-location-tp4667617p4667631.html >> To unsubscribe from resources.xml file location, click >> here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4667617&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2Njc2MTd8LTExMTcxODc2MjU=> >> . >> NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/resources-xml-file-location-tp4667617p4667638.html > Sent from the OpenEJB User mailing list archive at Nabble.com.