Openjpa didnt start 2.1 dev. Le 5 avr. 2015 23:23, "David Goodenough" <[email protected]> a écrit :
> Reading the openjpa site, it says that openjpa 2.4 is the version for > JPA version 2.1. Surely the version in the 5.0 snapshot is:- > > openjpa-2.4.0-nonfinal-1598334.jar > > which looks like 2.4 to me? Or is something else needed in order > to have 2.1? > > David > > On Sunday 05 April 2015 21:58:00 David Goodenough wrote: > > Oddly when I try to tell Eclipse to use 2.0, it says there is not a 2.0 > > runtime in the snapshot directory, but it is fine if I ask for a 2.1 one. > > I wonder how it tells the difference? > > > > David > > > > On Sunday 05 April 2015 22:30:26 Romain Manni-Bucau wrote: > > > Yes or not rely on tomee to manage your persistence > > > Le 5 avr. 2015 22:19, "David Goodenough" > > > <[email protected]>> > > > a écrit : > > > > So I need to configure to use 2.0? > > > > > > > > David > > > > > > > > On Sunday 05 April 2015 20:51:05 Romain Manni-Bucau wrote: > > > > > *2.1 > > > > > > > > > > Le 5 avr. 2015 20:50, "Romain Manni-Bucau" <[email protected]> > a > > > > > > > > écrit : > > > > > > Tomee 2 doesnt support jpa 2 yet > > > > > > Le 5 avr. 2015 20:43, "David Goodenough" < > > > > > > > > > > > > [email protected]> a écrit : > > > > > >> Eclipse seems to set up persistence.xml with:- > > > > > >> > > > > > >> xmlns="http://xmlns.jcp.org/xml/ns/persistence" > > > > > >> > > > > > >> while Tomee2.0 snapshot seems to want:- > > > > > >> > > > > > >> xmlns="http://java.sun.com/xml/ns/persistence" > > > > > >> > > > > > >> I have Eclipse Luna installed and as up to date as is available, > > > > > >> and > > > > > > > > JPA > > > > > > > > > >> is set to use JPA 2.1 which seems to be the latest generic > version > > > > > >> it > > > > > >> knows > > > > > >> about, the alternative being EclipseLink 2.5. > > > > > >> > > > > > >> I take it that I have configured Eclipse wrongly somewhere, > anyone > > > > > >> got > > > > > >> any idea where? > > > > > >> > > > > > >> David > >
