You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Thibaut Robert (JIRA)" <ji...@apache.org> on 2011/04/20 13:31:06 UTC
[jira] [Created] (OPENEJB-1527) JtaEntityManager: wonrg delegating
call, wrong transaction management
JtaEntityManager: wonrg delegating call, wrong transaction management
---------------------------------------------------------------------
Key: OPENEJB-1527
URL: https://issues.apache.org/jira/browse/OPENEJB-1527
Project: OpenEJB
Issue Type: Bug
Components: cmp2
Affects Versions: (trunk/openejb3), 3.2
Reporter: Thibaut Robert
There are issues in JPA 2.0 methods:
- In the following methods:
public void lock(Object entity, LockModeType lockMode, Map<String, Object>
properties) {
public void refresh(Object entity, LockModeType lockMode, Map<String,
Object> properties) {
public void refresh(Object entity, LockModeType lockMode) {
public void refresh(Object entity, Map<String, Object> properties) {
entityManager is used in place of entity in the delegating call
- Transaction management is not always correct (or at least not consistent
with JPA1 methods)
e.g. refresh methods does not assume an active transaction.
- Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Work started] (OPENEJB-1527) JtaEntityManager: wrong
delegating call, wrong transaction management
Posted by "Thibaut Robert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on OPENEJB-1527 started by Thibaut Robert.
> JtaEntityManager: wrong delegating call, wrong transaction management
> ---------------------------------------------------------------------
>
> Key: OPENEJB-1527
> URL: https://issues.apache.org/jira/browse/OPENEJB-1527
> Project: OpenEJB
> Issue Type: Bug
> Components: cmp2
> Affects Versions: (trunk/openejb3), 3.2
> Reporter: Thibaut Robert
> Assignee: Thibaut Robert
> Attachments: jta-entity-manager.patch
>
>
> There are issues in JPA 2.0 methods:
> - In the following methods:
> public void lock(Object entity, LockModeType lockMode, Map<String, Object>
> properties) {
> public void refresh(Object entity, LockModeType lockMode, Map<String,
> Object> properties) {
> public void refresh(Object entity, LockModeType lockMode) {
> public void refresh(Object entity, Map<String, Object> properties) {
> entityManager is used in place of entity in the delegating call.
> - Transaction management is not always correct (or at least not consistent
> with JPA1 methods)
> e.g. refresh methods does not assume an active transaction.
> - Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OPENEJB-1527) JtaEntityManager: wrong
delegating call, wrong transaction management
Posted by "Thibaut Robert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022159#comment-13022159 ]
Thibaut Robert commented on OPENEJB-1527:
-----------------------------------------
Could you please review attached patch ?
> JtaEntityManager: wrong delegating call, wrong transaction management
> ---------------------------------------------------------------------
>
> Key: OPENEJB-1527
> URL: https://issues.apache.org/jira/browse/OPENEJB-1527
> Project: OpenEJB
> Issue Type: Bug
> Components: cmp2
> Affects Versions: (trunk/openejb3), 3.2
> Reporter: Thibaut Robert
> Assignee: Thibaut Robert
> Attachments: jta-entity-manager.patch
>
>
> There are issues in JPA 2.0 methods:
> - In the following methods:
> public void lock(Object entity, LockModeType lockMode, Map<String, Object>
> properties) {
> public void refresh(Object entity, LockModeType lockMode, Map<String,
> Object> properties) {
> public void refresh(Object entity, LockModeType lockMode) {
> public void refresh(Object entity, Map<String, Object> properties) {
> entityManager is used in place of entity in the delegating call.
> - Transaction management is not always correct (or at least not consistent
> with JPA1 methods)
> e.g. refresh methods does not assume an active transaction.
> - Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (OPENEJB-1527) JtaEntityManager: wrong delegating
call, wrong transaction management
Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Louis MONTEIRO reassigned OPENEJB-1527:
--------------------------------------------
Assignee: Thibaut Robert
> JtaEntityManager: wrong delegating call, wrong transaction management
> ---------------------------------------------------------------------
>
> Key: OPENEJB-1527
> URL: https://issues.apache.org/jira/browse/OPENEJB-1527
> Project: OpenEJB
> Issue Type: Bug
> Components: cmp2
> Affects Versions: (trunk/openejb3), 3.2
> Reporter: Thibaut Robert
> Assignee: Thibaut Robert
>
> There are issues in JPA 2.0 methods:
> - In the following methods:
> public void lock(Object entity, LockModeType lockMode, Map<String, Object>
> properties) {
> public void refresh(Object entity, LockModeType lockMode, Map<String,
> Object> properties) {
> public void refresh(Object entity, LockModeType lockMode) {
> public void refresh(Object entity, Map<String, Object> properties) {
> entityManager is used in place of entity in the delegating call.
> - Transaction management is not always correct (or at least not consistent
> with JPA1 methods)
> e.g. refresh methods does not assume an active transaction.
> - Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENEJB-1527) JtaEntityManager: wrong delegating
call, wrong transaction management
Posted by "Thibaut Robert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thibaut Robert updated OPENEJB-1527:
------------------------------------
Attachment: jta-entity-manager.patch
> JtaEntityManager: wrong delegating call, wrong transaction management
> ---------------------------------------------------------------------
>
> Key: OPENEJB-1527
> URL: https://issues.apache.org/jira/browse/OPENEJB-1527
> Project: OpenEJB
> Issue Type: Bug
> Components: cmp2
> Affects Versions: (trunk/openejb3), 3.2
> Reporter: Thibaut Robert
> Assignee: Thibaut Robert
> Attachments: jta-entity-manager.patch
>
>
> There are issues in JPA 2.0 methods:
> - In the following methods:
> public void lock(Object entity, LockModeType lockMode, Map<String, Object>
> properties) {
> public void refresh(Object entity, LockModeType lockMode, Map<String,
> Object> properties) {
> public void refresh(Object entity, LockModeType lockMode) {
> public void refresh(Object entity, Map<String, Object> properties) {
> entityManager is used in place of entity in the delegating call.
> - Transaction management is not always correct (or at least not consistent
> with JPA1 methods)
> e.g. refresh methods does not assume an active transaction.
> - Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENEJB-1527) JtaEntityManager: wrong delegating
call, wrong transaction management
Posted by "Thibaut Robert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thibaut Robert updated OPENEJB-1527:
------------------------------------
Description:
There are issues in JPA 2.0 methods:
- In the following methods:
public void lock(Object entity, LockModeType lockMode, Map<String, Object>
properties) {
public void refresh(Object entity, LockModeType lockMode, Map<String,
Object> properties) {
public void refresh(Object entity, LockModeType lockMode) {
public void refresh(Object entity, Map<String, Object> properties) {
entityManager is used in place of entity in the delegating call.
- Transaction management is not always correct (or at least not consistent
with JPA1 methods)
e.g. refresh methods does not assume an active transaction.
- Less important, timing measurement is implemented JPA 1 methods but not JPA2.
was:
There are issues in JPA 2.0 methods:
- In the following methods:
public void lock(Object entity, LockModeType lockMode, Map<String, Object>
properties) {
public void refresh(Object entity, LockModeType lockMode, Map<String,
Object> properties) {
public void refresh(Object entity, LockModeType lockMode) {
public void refresh(Object entity, Map<String, Object> properties) {
entityManager is used in place of entity in the delegating call
- Transaction management is not always correct (or at least not consistent
with JPA1 methods)
e.g. refresh methods does not assume an active transaction.
- Less important, timing measurement is implemented JPA 1 methods but not JPA2.
Summary: JtaEntityManager: wrong delegating call, wrong transaction management (was: JtaEntityManager: wonrg delegating call, wrong transaction management)
> JtaEntityManager: wrong delegating call, wrong transaction management
> ---------------------------------------------------------------------
>
> Key: OPENEJB-1527
> URL: https://issues.apache.org/jira/browse/OPENEJB-1527
> Project: OpenEJB
> Issue Type: Bug
> Components: cmp2
> Affects Versions: (trunk/openejb3), 3.2
> Reporter: Thibaut Robert
>
> There are issues in JPA 2.0 methods:
> - In the following methods:
> public void lock(Object entity, LockModeType lockMode, Map<String, Object>
> properties) {
> public void refresh(Object entity, LockModeType lockMode, Map<String,
> Object> properties) {
> public void refresh(Object entity, LockModeType lockMode) {
> public void refresh(Object entity, Map<String, Object> properties) {
> entityManager is used in place of entity in the delegating call.
> - Transaction management is not always correct (or at least not consistent
> with JPA1 methods)
> e.g. refresh methods does not assume an active transaction.
> - Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENEJB-1527) JtaEntityManager: wrong delegating
call, wrong transaction management
Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Louis MONTEIRO closed OPENEJB-1527.
----------------------------------------
Resolution: Fixed
Fix Version/s: 4.0
4.0-beta-1
3.2
> JtaEntityManager: wrong delegating call, wrong transaction management
> ---------------------------------------------------------------------
>
> Key: OPENEJB-1527
> URL: https://issues.apache.org/jira/browse/OPENEJB-1527
> Project: OpenEJB
> Issue Type: Bug
> Components: cmp2
> Affects Versions: (trunk/openejb3), 3.2
> Reporter: Thibaut Robert
> Assignee: Thibaut Robert
> Fix For: 3.2, 4.0-beta-1, 4.0
>
> Attachments: jta-entity-manager.patch
>
>
> There are issues in JPA 2.0 methods:
> - In the following methods:
> public void lock(Object entity, LockModeType lockMode, Map<String, Object>
> properties) {
> public void refresh(Object entity, LockModeType lockMode, Map<String,
> Object> properties) {
> public void refresh(Object entity, LockModeType lockMode) {
> public void refresh(Object entity, Map<String, Object> properties) {
> entityManager is used in place of entity in the delegating call.
> - Transaction management is not always correct (or at least not consistent
> with JPA1 methods)
> e.g. refresh methods does not assume an active transaction.
> - Less important, timing measurement is implemented JPA 1 methods but not JPA2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira