[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 17:17:53 EDT 2013


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

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

Hi Jason - thanks for the quick response.  We started our migration last year before this announcement and are a far way in.  We also wanted to start using CDI, JSF 2, and RichFaces 4 items without building more seam 2.3 items to just have to migrate at some future point.  We have many things working on Seam3, this issue though we are having issues with.  Does DeltaSpike solve this?  DeltaSpike seems to be in beta, 0.4-incubating-SNAPSHOT, I do not think we can move there right now.

I did not follow this thread, for the read operation only (no many to many editing), what was the solution?
                
> 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