Le 21 mars 2015 12:54, "davshowhan" <davshowhan...@gmail.com> a écrit : > > > What do you mean? is it wrong? >
Use the entitymanagerfactory not the entitymanager > RESOURCE-LOCAL is when you dont use a datasource right? > No, when you dont use jta and handle yourself transactions > > > -- > View this message in context: http://tomee-openejb.979440.n4.nabble.com/Nullpointer-on-use-of-EntityManager-in-app-run-in-TOMEE-tp4674140p4674142.html > Sent from the TomEE Dev mailing list archive at Nabble.com.