java.lang.IllegalStateException: EntityManager is closed

pragmatists.pl | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Pragmatists Blog

    pragmatists.pl | 5 months ago
    java.lang.IllegalStateException: EntityManager is closed
  2. 0

    Exception is thrown when session with Spring Transaction Manager is being disposed

    https://bugzilla.redhat.com/bugzilla/ | 5 years ago | Radovan Synek
    java.lang.IllegalStateException: EntityManager is closed

    Root Cause Analysis

    1. java.lang.IllegalStateException

      EntityManager is closed

      at org.hibernate.ejb.EntityManagerImpl.getSession()
    2. Hibernate EJB
      EntityManagerImpl.getSession
      1. org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:89)
      1 frame
    3. Play JDBC
      DB.getConnection
      1. play.db.DB.getConnection(DB.java:53)
      1 frame
    4. Play
      JPAPlugin.closeTx
      1. play.db.jpa.JPAPlugin.closeTx(JPAPlugin.java:395)
      1 frame