hey,
I'm a newbie with these frameworks. Firstly i want to write a small
web app with gwt for the frontend, spring for backend and jpa for the
persistence operations. I use Hibernate as JPA implementation.

I started with a simple construction (2 simply entities, 2 DAO,1
remote service). I have no problems with this example. After i had
extended the entities with lists, i got some problems with the lazy
loading and serialization. Therefore i searched for solution and found
the Gilead Framework.

Now i have following problem:
org.hibernate.LazyInitializationException: failed to lazily initialize
a collection of role: <list attribute of my class>, no session or
session was closed
        at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:
383)
        at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:
375)

I don't understand the problem, because i marked the service method
with @Transactional(propagation=Propagation.NESTED, readOnly=true).
What is the cause of my problem?
thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to