org.hibernate.LazyInitializationException

failed to lazily initialize a collection, no session or session was closed

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web192

  • via Stack Overflow by Xiè Jìléi
    ,
  • Stack trace

    • org.hibernate.LazyInitializationException: failed to lazily initialize a collection, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383)

    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

    Unknown visitor
    Unknown visitorOnce,
    mauritiusmauritius
    2 times, last one
    treefolktreefolk
    2 times, last one
    mortalman7mortalman7
    Once,
    Unknown visitor
    Unknown visitorOnce,
    9 more bugmates