You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org> on 2010/02/22 15:32:27 UTC

[jira] Created: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Provide JPA 2.0 support in addition to JPA 1.0
----------------------------------------------

                 Key: OPENEJB-1236
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
             Project: OpenEJB
          Issue Type: New Feature
            Reporter: Jean-Louis MONTEIRO


JPA 2.0 is out since mid December. It'd be nice to support it.
The difficult part is to be able to keep the JPA 1.0 integration usable.
It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Janis Kazakovs (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868639#action_12868639 ] 

Janis Kazakovs commented on OPENEJB-1236:
-----------------------------------------

Would be a nice functionality to have. When do you think it could be available?

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Will Sumekar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926151#action_12926151 ] 

Will Sumekar commented on OPENEJB-1236:
---------------------------------------

just wanted to add that it's available in the trunk as version 3.2.0-SNAPSHOT. the link is: https://repository.apache.org/snapshots/org/apache/openejb/openejb-standalone/3.2-SNAPSHOT/

Got this info from: http://www.mail-archive.com/users@openejb.apache.org/msg03255.html


> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846935#action_12846935 ] 

Jean-Louis MONTEIRO commented on OPENEJB-1236:
----------------------------------------------

Started working on that issue. 
Still under tests but it seems to work at least with Hibernate 3.5.0-CR-2.
I just would like to make JPA 2.0 optional. I mean, i'd like OpenEJB to be able to work with JPA 1.0 implementations as well as JPA 2.0. It seems to be the case, but definitely need to add tests.

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854492#action_12854492 ] 

Jean-Louis MONTEIRO commented on OPENEJB-1236:
----------------------------------------------

IMHO, the target gonna be to get OpenJPA 2.x as part of the OpenEJB. But, i'd like to leave users free to plug any other implementations.
It's definitely the case today (you can use either openjpa, hibernate, eclipse-link).
By the way, to do such, you need 
* to repackage the openejb.war if you are using OpenEJB in Tomcat
* to change your Maven dependencies in order to exclude OpenJPA and add your own provider otherwise

The idea is just to extend that by allowing JPA 2.0 as well as JPA 1.0 implementations.


> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Updated: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO updated OPENEJB-1236:
-----------------------------------------

    Attachment: OPENEJB-1236.patch

Hope i did not forget something.

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Assigned: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO reassigned OPENEJB-1236:
--------------------------------------------

    Assignee: Jean-Louis MONTEIRO

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Laird Nelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854486#action_12854486 ] 

Laird Nelson commented on OPENEJB-1236:
---------------------------------------

To be clear: does your fix mean that OpenJPA 2.0 will be the new JPA implementation shipped as part of OpenEJB?  Or does it mean that if an application supplies those libraries they can be used?

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Will Hoover (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839667#action_12839667 ] 

Will Hoover commented on OPENEJB-1236:
--------------------------------------

looks like openjpa 2.0 is in beta 2 and getting close for release: http://openjpa.apache.org/jpa-20-tasks.html and hibernate 3.5.0 is in release candidate. 

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Laird Nelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854495#action_12854495 ] 

Laird Nelson commented on OPENEJB-1236:
---------------------------------------

Changing Maven dependencies: this is non-trivial, right?  After all, the OpenJPA implementation (1.2.1) that's in the OpenEJB pom by default excludes various transitive dependencies--must we application developers/unit testers also take care to exclude the same things if we depend on OpenJPA 2.0?

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Damian Nowak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894409#action_12894409 ] 

Damian Nowak commented on OPENEJB-1236:
---------------------------------------

Fixing this would be very much appreciated.

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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


[jira] Commented: (OPENEJB-1236) Provide JPA 2.0 support in addition to JPA 1.0

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899300#action_12899300 ] 

Jean-Louis MONTEIRO commented on OPENEJB-1236:
----------------------------------------------

Actually, it's already available in the trunk. There is still one issue with the openjpa enhancer we need to fix.

> Provide JPA 2.0 support in addition to JPA 1.0
> ----------------------------------------------
>
>                 Key: OPENEJB-1236
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1236
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>         Attachments: OPENEJB-1236.patch
>
>
> JPA 2.0 is out since mid December. It'd be nice to support it.
> The difficult part is to be able to keep the JPA 1.0 integration usable.
> It's a challenge, cause APIs aren't the same (EntityManager for example defines more methods).

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