[jboss-user] [JBoss Web Services] - JPA JAX-WS LazyinitializingException during marshalling of collections
devond
dev at easyready.com
Tue Oct 12 18:34:40 EDT 2010
Hi all,
The scenario is : jboss 4.2.2, EJB3 entity that describes the model, EJB
session deployed as web service.
The problem is that when a client invokes a method of the web service that
returns an entity (that references a collection) receave a
LazyinitializingException.
This is due to the marshalling operation that is executed after jpa session
closing.
To solve this I would implement long session pattern with a "web service
transaction".
I can I implement it?
Thanks in advance
Devone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101013/523ce07e/attachment.html
More information about the jboss-user
mailing list