[seam-issues] [JBoss JIRA] (SEAMPERSIST-69) Transacation is problematic when save data
hantsy bai (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Nov 9 02:31:45 EST 2011
[ https://issues.jboss.org/browse/SEAMPERSIST-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641284#comment-12641284 ]
hantsy bai commented on SEAMPERSIST-69:
---------------------------------------
This problem can not be reproduced now, I will switch to MySQL database and verify it again.
> 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