i am getting this error while fetching

cache.get(1); at client side

Exception in thread "main" org.hibernate.LazyInitializationException: could
not initialize proxy - no Session
        at
org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:186)
        at
org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:545)
        at
org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:124)
        at
org.hibernate.collection.internal.PersistentMap.toString(PersistentMap.java:270)
        at java.lang.String.valueOf(Unknown Source)
        at java.lang.StringBuilder.append(Unknown Source)



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/how-to-fetch-data-when-its-loaded-using-cache-loadCache-null-100-00-tp4654p4655.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to