org.hibernate.HibernateException

load is not valid without active transaction

Solutions on the web1216

  • via Oracle Community by csckid, 10 months ago
    load is not valid without active transaction
  • load is not valid without active transaction
  • flush is not valid without active transaction
  • Stack trace

    • org.hibernate.HibernateException: load is not valid without active transaction at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:338) at $Proxy9.load(Unknown Source) at com.hibernate.submission.TestCollege.deleteStudent(TestCollege.java:69) at com.hibernate.submission.TestCollege.design(TestCollege.java:63) at com.hibernate.submission.TestCollege.main(TestCollege.java:57)

    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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.