Page 1 of 1

soap prob send mail: org.hibernate.LazyInitializationExcepti

Posted: Tue Jun 09, 2009 3:23 pm
by tiago.cury
Hi,

I opened a bug report:
http://sourceforge.net/tracker/?func=de ... tid=848488

I get a hibernate exception after sending a SOAP message using the SendMailing operation. I receive a SOAP with 0 (error) as return code.

2009-06-08 15:18:49,320 - failed to lazily initialize a collection of role: Mailing.mediatypes, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: Mailing.mediatypes, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
...

any tip?

regards,
Tiago