[
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.