openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1323) Relax em.refresh TransactionRequireException thown condition
Date Wed, 23 Sep 2009 03:52:16 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758569#action_12758569
] 

Albert Lee commented on OPENJPA-1323:
-------------------------------------

The recent level spec has relaxed when the TransactionRequiredException will be thrown per
the em interface contract.
-------------------------
* @throws TransactionRequiredException if there is no transaction and if invoked on a container-managed
EntityManager instance with PersistenceContextType.TRANSACTION 

>>>>  or with a lock mode other than NONE.

public void refresh(Object entity, LockModeType lockMode);
-------------------------


> Relax em.refresh TransactionRequireException thown condition
> ------------------------------------------------------------
>
>                 Key: OPENJPA-1323
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1323
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: kernel
>    Affects Versions: 2.0.0
>            Reporter: Albert Lee
>            Assignee: Albert Lee
>             Fix For: 2.0.0-M4
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message