[seam-issues] [JBoss JIRA] (SEAMPERSIST-69) Transacation is problematic when save data

Jason Porter (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 19:51:40 EST 2011


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

Jason Porter commented on SEAMPERSIST-69:
-----------------------------------------

Hansty, in lieu of the other issue I mentioned (SEAMFACES-224) can this be closed?
                
> Transacation is problematic when save data
> ------------------------------------------
>
>                 Key: SEAMPERSIST-69
>                 URL: https://issues.jboss.org/browse/SEAMPERSIST-69
>             Project: Seam Persistence
>          Issue Type: Bug
>            Reporter: hantsy bai
>            Priority: Critical
>
> I used a ConversationScoped bean to save/update data. but it is very strange, when I edit the data and want to update the data, the result was not saved successfully.
> When I added @Transactional to the save the method, the same result.
> When I added em.flush in the save method(with @Transactional annotation), I got an exception, please refer to the forum post.
> When I used  em.flush standalone(without @Transactional annotation), it works well.
> In before Seam2 application, all above worked well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list