1 Reply Latest reply on Mar 18, 2009 6:16 AM by Hany Shafik

    Container managed entity manager

    Hany Shafik Newbie

      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