[seam-issues] [JBoss JIRA] (SEAMPERSIST-67) LazyInitializationException threw when persist a Many to Many collection of an entity.

Ben Software Engineer (JIRA) jira-events at lists.jboss.org
Wed May 1 16:57:53 EDT 2013


    [ https://issues.jboss.org/browse/SEAMPERSIST-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771428#comment-12771428 ] 

Ben Software Engineer commented on SEAMPERSIST-67:
--------------------------------------------------

Hi Hantsy/Jason - we are migrating from JBoss 5 and Seam 2 to JBoss 7 and Seam 3 as well.  We are also seeing this issue.  On initial render it works but on ajax post we get the LIE.  We have also not changed anything from original Seam 2 working code.  We are not trying to edit anything, our lazy fetch is on a read only entity.  Any solutions?  
                
> LazyInitializationException threw when persist a Many to Many collection of an entity.
> --------------------------------------------------------------------------------------
>
>                 Key: SEAMPERSIST-67
>                 URL: https://issues.jboss.org/browse/SEAMPERSIST-67
>             Project: Seam Persistence
>          Issue Type: Bug
>         Environment: Java 6 update 27, Seam 3.1.0Beta2, JBoss 7.0.1.Final
>            Reporter: hantsy bai
>            Priority: Critical
>
> I tried a saved a many to many relation(multicheckbox), but failed.
> But in before seam 2 application, I used like this, never encounter such a problem.
> I used Seam managed Persistence, and added TransactionIntercepter in the beans.xml.
> Please refer the discussion in the forum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list