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

hantsy bai (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 20:53:40 EST 2011


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

hantsy bai edited comment on SEAMPERSIST-69 at 12/1/11 8:51 PM:
----------------------------------------------------------------

yes, I think this issue can be closed. Wait for one or two days,  I will verify it in my project again.
                
      was (Author: hantsy):
    yes, I think this issue can 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