[jboss-user] [EJB 3.0] - Container managed entity manager
hanyshafik
do-not-reply at jboss.com
Wed Mar 11 01:23:41 EDT 2009
Hi, I have a persistence unit with transaction type RESOURCE_LOCAL and non jta data source, and I am using container managed entity manager in my session beans. It works fine on JBoss AS 4.2.2
My question is that the above scenario shouldn't work according to the jpa spcefication secion 5.5 that says "A container-managed entity manager must be a JTA entity manager."
Also according to hibernate documentation it comfirms this violation
http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/architecture.html
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216845#4216845
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216845
More information about the jboss-user
mailing list