You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2012/07/27 16:50:34 UTC

[jira] [Commented] (DELTASPIKE-248) missing check of EntityTransaction#getRollbackOnly in ResourceLocalPersistenceStrategy

    [ https://issues.apache.org/jira/browse/DELTASPIKE-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423910#comment-13423910 ] 

Gerhard Petracek commented on DELTASPIKE-248:
---------------------------------------------

i'll push the fix asap
                
> missing check of EntityTransaction#getRollbackOnly in ResourceLocalPersistenceStrategy
> --------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-248
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-248
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JPA-Module
>    Affects Versions: 0.2-incubating
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 0.3-incubating
>
>
> EntityTransaction#rollback only gets called in case of an exception, but in the finally-block not in case EntityTransaction#getRollbackOnly returns true

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