net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection

Hibernate JIRA | Zoltan Luspai | 1 decade 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

    Karl Baum's Weblog

    jroller.com | 5 months ago
    net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection - no session or session was closed
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. net.sf.hibernate.LazyInitializationException

      Failed to lazily initialize a collection

      at net.sf.hibernate.collection.PersistentCollection.initialize()
    2. net.sf.hibernate
      Set.iterator
      1. net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:206)
      2. net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
      3. net.sf.hibernate.collection.Set.iterator(Set.java:130)
      3 frames
    3. hu.mnet.app
      Szoba.getZarolas
      1. hu.mnet.app.kur.objects.Szoba.getZarolas(Szoba.java:274)
      1 frame