org.hibernate.HibernateException: createQuery is not valid without active transaction at org.hibernate.context.ThreadLocalSessionContext $TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java: 338)

Google Groups | Same dude | 7 years 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

    Error w/Finders createQuery and active transactions...Please help

    Google Groups | 7 years ago | Same dude
    org.hibernate.HibernateException: createQuery is not valid without active transaction at org.hibernate.context.ThreadLocalSessionContext $TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java: 338)

    Root Cause Analysis

    1. org.hibernate.HibernateException

      createQuery is not valid without active transaction at org.hibernate.context.ThreadLocalSessionContext $TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java: 338)

      at $Proxy7.createQuery()
    2. Unknown
      $Proxy7.createQuery
      1. $Proxy7.createQuery(Unknown Source)
      1 frame