You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Janis Kazakov <jk...@gmail.com> on 2010/05/19 21:26:30 UTC

JPA 2.0 support

Hello,

Are you planing to support JPA 2.0?

Regards,
Janis

Re: JPA 2.0 support

Posted by Aleksandr Ivanov <al...@gmail.com>.
Hello Janis,

I've done the same procedure before, bu I checked out the code from svn.

SVN revision number which worked for me is 933865.

When building - disable the unit tests as they are failing.

Best,

Aleksandr

2010/5/21 Janis Kazakov <jk...@gmail.com>:
> Hello Jean-Louis,
>
> I was doing the following, please, correct me if I am wrong:
>
> 1. download openejb-3.1.2-src;
> 2. apply OPENEJB-1236 patch to openejb-3.1.2-src project;
> 3. build from the root project;
>
> The build fails on openejb-jee project:
>
> /Users/ktdev/Downloads/tmp/openejb-3.1.2-src/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java:[21,24]
> cannot find symbol
> symbol  : class ValidationMode
> location: package javax.persistence
>
> /Users/ktdev/Downloads/tmp/openejb-3.1.2-src/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java:[117,14]
> cannot find symbol
> symbol  : class SharedCacheMode
> location: class org.apache.openejb.jee.jpa.unit.PersistenceUnit
>
> ....and so on...
>
> I need OpenEJB to work with Hibernate 3.5.0-CR-2 on Tomcat, so what I was
> planning to do is to build openejb-3.1.2-src and repackage openejb.war with
> the new JARs. Is it the way to go?
>
> Thanks,
> Janis
>
>
> On 20 May 2010 21:25, Jean-Louis MONTEIRO <
> jean-louis.monteiro@atosorigin.com> wrote:
>
>>
>> Hi,
>>
>> sure, here is the  https://issues.apache.org/jira/browse/OPENEJB-1236 JIRA
>> .
>>
>> Jean-Louis
>>
>>
>> Janis Kazakov wrote:
>> >
>> > Hello,
>> >
>> > Are you planing to support JPA 2.0?
>> >
>> > Regards,
>> > Janis
>> >
>> >
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/JPA-2-0-support-tp2223420p2225163.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
>
>
> --
> Inspirator of Opatopa: www.opatopa.com
> My Blog: janistoolbox.typepad.com/
> LinkedIn: nl.linkedin.com/in/janiskazakovs
>

Re: JPA 2.0 support

Posted by Janis Kazakov <jk...@gmail.com>.
Hello Jean-Louis,

I was doing the following, please, correct me if I am wrong:

1. download openejb-3.1.2-src;
2. apply OPENEJB-1236 patch to openejb-3.1.2-src project;
3. build from the root project;

The build fails on openejb-jee project:

/Users/ktdev/Downloads/tmp/openejb-3.1.2-src/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java:[21,24]
cannot find symbol
symbol  : class ValidationMode
location: package javax.persistence

/Users/ktdev/Downloads/tmp/openejb-3.1.2-src/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java:[117,14]
cannot find symbol
symbol  : class SharedCacheMode
location: class org.apache.openejb.jee.jpa.unit.PersistenceUnit

....and so on...

I need OpenEJB to work with Hibernate 3.5.0-CR-2 on Tomcat, so what I was
planning to do is to build openejb-3.1.2-src and repackage openejb.war with
the new JARs. Is it the way to go?

Thanks,
Janis


On 20 May 2010 21:25, Jean-Louis MONTEIRO <
jean-louis.monteiro@atosorigin.com> wrote:

>
> Hi,
>
> sure, here is the  https://issues.apache.org/jira/browse/OPENEJB-1236 JIRA
> .
>
> Jean-Louis
>
>
> Janis Kazakov wrote:
> >
> > Hello,
> >
> > Are you planing to support JPA 2.0?
> >
> > Regards,
> > Janis
> >
> >
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/JPA-2-0-support-tp2223420p2225163.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>



-- 
Inspirator of Opatopa: www.opatopa.com
My Blog: janistoolbox.typepad.com/
LinkedIn: nl.linkedin.com/in/janiskazakovs

Re: JPA 2.0 support

Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Hi,

sure, here is the  https://issues.apache.org/jira/browse/OPENEJB-1236 JIRA .

Jean-Louis


Janis Kazakov wrote:
> 
> Hello,
> 
> Are you planing to support JPA 2.0?
> 
> Regards,
> Janis
> 
> 

-- 
View this message in context: http://openejb.979440.n4.nabble.com/JPA-2-0-support-tp2223420p2225163.html
Sent from the OpenEJB User mailing list archive at Nabble.com.