javax.persistence.PersistenceException

org.hibernate.HibernateException: The cho sen transaction strategy requires access to the JTA TransactionManager

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1781

  • via Hibernate JIRA by Bill Burke, 1 year ago
    org.hibernate.HibernateException: The cho sen transaction strategy requires access to the JTA TransactionManager
  • via Hibernate JIRA by Bill Burke, 1 year ago
    org.hibernate.HibernateException: The cho sen transaction strategy requires access to the JTA TransactionManager
  • via Oracle Community by 843830, 1 year ago
    org.hibernate.HibernateException: The chosen transaction strategy requir es access to the JTA TransactionManager
  • Stack trace

    • javax.persistence.PersistenceException: org.hibernate.HibernateException: The cho sen transaction strategy requires access to the JTA TransactionManager at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:188) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:110) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) at com.titan.clients.Client1.main(Client1.java:14) Caused by: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA Tran sactionManager at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:311) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1180) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:505) at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:632) at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:126) at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:180) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.