Hi, You are not supposed to access directly the entitymanager otherwise your code will depend on the container: so for exemple it will run on jboss but not in tomcat or jetty bundle.
If you run on jboss and just don't care about compatibily you may probably get the entitymanager "by hand". we currently don't provide a way to do this via nuxeo api. On 21 Nov 2009 10:37, "Stefan Dimov" <[email protected]> wrote: Hi Thierry, Thanks for quick response. Actually I need an EntityManager to create my custom queries. Using of nativeQuery will change the way I'm accessing logs (via EntitiyManager.createQuery() call). Is there an easier way to fetch EntityManager for logs, or I have to change my query builder? Thanks again for help. Regards, Stefan. Thierry Delprat wrote: > > Hi, > > The method you are calling is not part of the ejb3 interface, that's why you get a tx e... ------------------------------ > _______________________________________________ > ECM mailing list > [email protected] > http:/...
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
