You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Emmanuel Touzery <em...@lecip-its.com> on 2014/08/18 10:46:01 UTC
tomee+hibernate+java8 possible?
Hello,
we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is out, we
are interested to migrate to it, and start using the new java8 features.
We are not sure which hibernate version introduced support for java8 (it
turns out extremely difficult to come to that information...), so we
planned to move to the latest hibernate 4.3 version, however we found this:
http://stackoverflow.com/a/15771969/516188
There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
supported by TomEE, because it's Java EE 7."/. I wonder, is that true?
That we can't use hibernate 4.3+ with tomee 1.x? We definitely don't
want to use JEE7 features until all is ready. We are looking for a
supported configuration.
If that is true, does anyone know whether that prevents us from
using tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for
that? (yes, this last question I guess I should rather ask in a
hibernate forum, but I can try asking here just in case someone happens
to know)
Regards,
Emmanuel
Re: tomee+hibernate+java8 possible?
Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
Good question. Tried to, but ran into some migration issues, known bugs
etc. Let's not discuss that here. Don't want to hijack this thread, and
it's not a requirement for me to upgrade yet. :-)
On Aug 21, 2014 11:58 AM, "Karl Kildén" <ka...@gmail.com> wrote:
> Howard, very interesting thanks. When do you plan to upgrade eclipselink?
> ;)
>
> TomEE 1.7 seems really awesome.
>
>
> On 21 August 2014 17:03, helio frota <00...@gmail.com> wrote:
>
> > - tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
> >
> > Awesome !
> >
> >
> >
> >
> > On Thu, Aug 21, 2014 at 11:00 AM, Howard W. Smith, Jr. <
> > smithh032772@gmail.com> wrote:
> >
> > > My response may be inappropriate but I have been using
> > >
> > > - tomee+ 1.5.1 + eclipselink 2.3.2 + apache derby 10.x + JDK7
> > >
> > > - tomee+ 1.6.x + eclipselink 2.3.2 + apache derby 10.x + JDK7
> > >
> > > and now
> > >
> > > - tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
> > >
> > > and the stack is working great, and I'm loving it!
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Aug 21, 2014 at 8:46 AM, Emmanuel Touzery <
> > > emmanuel.touzery@lecip-its.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > thank you. Right now we think that hibernate 4.2.x ought to work
> with
> > > > java8 so we'll try that setup first. But we'll remember this in case
> we
> > > > find out that's not the case.
> > > >
> > > > Regards,
> > > >
> > > > Emmanuel
> > > >
> > > >
> > > > On 18/08/14 13:50, Romain Manni-Bucau wrote:
> > > >
> > > >> Hi
> > > >>
> > > >> If you add jpa 2.1 api replacing javee api jar by geronimo jar
> (javee
> > > api
> > > >> is just a shade of geronimos ones) it should work
> > > >> Le 18 août 2014 10:46, "Emmanuel Touzery" <
> > > emmanuel.touzery@lecip-its.com
> > > >> >
> > > >> a écrit :
> > > >>
> > > >> Hello,
> > > >>>
> > > >>> we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is
> out,
> > we
> > > >>> are
> > > >>> interested to migrate to it, and start using the new java8
> features.
> > We
> > > >>> are
> > > >>> not sure which hibernate version introduced support for java8 (it
> > turns
> > > >>> out
> > > >>> extremely difficult to come to that information...), so we planned
> to
> > > >>> move
> > > >>> to the latest hibernate 4.3 version, however we found this:
> > > >>> http://stackoverflow.com/a/15771969/516188
> > > >>>
> > > >>> There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
> > > >>> supported by TomEE, because it's Java EE 7."/. I wonder, is that
> > true?
> > > >>> That
> > > >>> we can't use hibernate 4.3+ with tomee 1.x? We definitely don't
> want
> > to
> > > >>> use
> > > >>> JEE7 features until all is ready. We are looking for a supported
> > > >>> configuration.
> > > >>>
> > > >>> If that is true, does anyone know whether that prevents us
> from
> > > >>> using
> > > >>> tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for
> > that?
> > > >>> (yes, this last question I guess I should rather ask in a hibernate
> > > >>> forum,
> > > >>> but I can try asking here just in case someone happens to know)
> > > >>>
> > > >>> Regards,
> > > >>>
> > > >>> Emmanuel
> > > >>>
> > > >>>
> > > >
> > >
> >
>
Re: tomee+hibernate+java8 possible?
Posted by Karl Kildén <ka...@gmail.com>.
Howard, very interesting thanks. When do you plan to upgrade eclipselink? ;)
TomEE 1.7 seems really awesome.
On 21 August 2014 17:03, helio frota <00...@gmail.com> wrote:
> - tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
>
> Awesome !
>
>
>
>
> On Thu, Aug 21, 2014 at 11:00 AM, Howard W. Smith, Jr. <
> smithh032772@gmail.com> wrote:
>
> > My response may be inappropriate but I have been using
> >
> > - tomee+ 1.5.1 + eclipselink 2.3.2 + apache derby 10.x + JDK7
> >
> > - tomee+ 1.6.x + eclipselink 2.3.2 + apache derby 10.x + JDK7
> >
> > and now
> >
> > - tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
> >
> > and the stack is working great, and I'm loving it!
> >
> >
> >
> >
> >
> >
> > On Thu, Aug 21, 2014 at 8:46 AM, Emmanuel Touzery <
> > emmanuel.touzery@lecip-its.com> wrote:
> >
> > > Hello,
> > >
> > > thank you. Right now we think that hibernate 4.2.x ought to work with
> > > java8 so we'll try that setup first. But we'll remember this in case we
> > > find out that's not the case.
> > >
> > > Regards,
> > >
> > > Emmanuel
> > >
> > >
> > > On 18/08/14 13:50, Romain Manni-Bucau wrote:
> > >
> > >> Hi
> > >>
> > >> If you add jpa 2.1 api replacing javee api jar by geronimo jar (javee
> > api
> > >> is just a shade of geronimos ones) it should work
> > >> Le 18 août 2014 10:46, "Emmanuel Touzery" <
> > emmanuel.touzery@lecip-its.com
> > >> >
> > >> a écrit :
> > >>
> > >> Hello,
> > >>>
> > >>> we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is out,
> we
> > >>> are
> > >>> interested to migrate to it, and start using the new java8 features.
> We
> > >>> are
> > >>> not sure which hibernate version introduced support for java8 (it
> turns
> > >>> out
> > >>> extremely difficult to come to that information...), so we planned to
> > >>> move
> > >>> to the latest hibernate 4.3 version, however we found this:
> > >>> http://stackoverflow.com/a/15771969/516188
> > >>>
> > >>> There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
> > >>> supported by TomEE, because it's Java EE 7."/. I wonder, is that
> true?
> > >>> That
> > >>> we can't use hibernate 4.3+ with tomee 1.x? We definitely don't want
> to
> > >>> use
> > >>> JEE7 features until all is ready. We are looking for a supported
> > >>> configuration.
> > >>>
> > >>> If that is true, does anyone know whether that prevents us from
> > >>> using
> > >>> tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for
> that?
> > >>> (yes, this last question I guess I should rather ask in a hibernate
> > >>> forum,
> > >>> but I can try asking here just in case someone happens to know)
> > >>>
> > >>> Regards,
> > >>>
> > >>> Emmanuel
> > >>>
> > >>>
> > >
> >
>
Re: tomee+hibernate+java8 possible?
Posted by helio frota <00...@gmail.com>.
- tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
Awesome !
On Thu, Aug 21, 2014 at 11:00 AM, Howard W. Smith, Jr. <
smithh032772@gmail.com> wrote:
> My response may be inappropriate but I have been using
>
> - tomee+ 1.5.1 + eclipselink 2.3.2 + apache derby 10.x + JDK7
>
> - tomee+ 1.6.x + eclipselink 2.3.2 + apache derby 10.x + JDK7
>
> and now
>
> - tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
>
> and the stack is working great, and I'm loving it!
>
>
>
>
>
>
> On Thu, Aug 21, 2014 at 8:46 AM, Emmanuel Touzery <
> emmanuel.touzery@lecip-its.com> wrote:
>
> > Hello,
> >
> > thank you. Right now we think that hibernate 4.2.x ought to work with
> > java8 so we'll try that setup first. But we'll remember this in case we
> > find out that's not the case.
> >
> > Regards,
> >
> > Emmanuel
> >
> >
> > On 18/08/14 13:50, Romain Manni-Bucau wrote:
> >
> >> Hi
> >>
> >> If you add jpa 2.1 api replacing javee api jar by geronimo jar (javee
> api
> >> is just a shade of geronimos ones) it should work
> >> Le 18 août 2014 10:46, "Emmanuel Touzery" <
> emmanuel.touzery@lecip-its.com
> >> >
> >> a écrit :
> >>
> >> Hello,
> >>>
> >>> we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is out, we
> >>> are
> >>> interested to migrate to it, and start using the new java8 features. We
> >>> are
> >>> not sure which hibernate version introduced support for java8 (it turns
> >>> out
> >>> extremely difficult to come to that information...), so we planned to
> >>> move
> >>> to the latest hibernate 4.3 version, however we found this:
> >>> http://stackoverflow.com/a/15771969/516188
> >>>
> >>> There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
> >>> supported by TomEE, because it's Java EE 7."/. I wonder, is that true?
> >>> That
> >>> we can't use hibernate 4.3+ with tomee 1.x? We definitely don't want to
> >>> use
> >>> JEE7 features until all is ready. We are looking for a supported
> >>> configuration.
> >>>
> >>> If that is true, does anyone know whether that prevents us from
> >>> using
> >>> tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for that?
> >>> (yes, this last question I guess I should rather ask in a hibernate
> >>> forum,
> >>> but I can try asking here just in case someone happens to know)
> >>>
> >>> Regards,
> >>>
> >>> Emmanuel
> >>>
> >>>
> >
>
Re: tomee+hibernate+java8 possible?
Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
My response may be inappropriate but I have been using
- tomee+ 1.5.1 + eclipselink 2.3.2 + apache derby 10.x + JDK7
- tomee+ 1.6.x + eclipselink 2.3.2 + apache derby 10.x + JDK7
and now
- tomee+ 1.7.0 + eclipselink 2.3.2 + apache derby 10.x + JDK8
and the stack is working great, and I'm loving it!
On Thu, Aug 21, 2014 at 8:46 AM, Emmanuel Touzery <
emmanuel.touzery@lecip-its.com> wrote:
> Hello,
>
> thank you. Right now we think that hibernate 4.2.x ought to work with
> java8 so we'll try that setup first. But we'll remember this in case we
> find out that's not the case.
>
> Regards,
>
> Emmanuel
>
>
> On 18/08/14 13:50, Romain Manni-Bucau wrote:
>
>> Hi
>>
>> If you add jpa 2.1 api replacing javee api jar by geronimo jar (javee api
>> is just a shade of geronimos ones) it should work
>> Le 18 août 2014 10:46, "Emmanuel Touzery" <emmanuel.touzery@lecip-its.com
>> >
>> a écrit :
>>
>> Hello,
>>>
>>> we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is out, we
>>> are
>>> interested to migrate to it, and start using the new java8 features. We
>>> are
>>> not sure which hibernate version introduced support for java8 (it turns
>>> out
>>> extremely difficult to come to that information...), so we planned to
>>> move
>>> to the latest hibernate 4.3 version, however we found this:
>>> http://stackoverflow.com/a/15771969/516188
>>>
>>> There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
>>> supported by TomEE, because it's Java EE 7."/. I wonder, is that true?
>>> That
>>> we can't use hibernate 4.3+ with tomee 1.x? We definitely don't want to
>>> use
>>> JEE7 features until all is ready. We are looking for a supported
>>> configuration.
>>>
>>> If that is true, does anyone know whether that prevents us from
>>> using
>>> tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for that?
>>> (yes, this last question I guess I should rather ask in a hibernate
>>> forum,
>>> but I can try asking here just in case someone happens to know)
>>>
>>> Regards,
>>>
>>> Emmanuel
>>>
>>>
>
Re: tomee+hibernate+java8 possible?
Posted by Emmanuel Touzery <em...@lecip-its.com>.
Hello,
thank you. Right now we think that hibernate 4.2.x ought to work with
java8 so we'll try that setup first. But we'll remember this in case we
find out that's not the case.
Regards,
Emmanuel
On 18/08/14 13:50, Romain Manni-Bucau wrote:
> Hi
>
> If you add jpa 2.1 api replacing javee api jar by geronimo jar (javee api
> is just a shade of geronimos ones) it should work
> Le 18 août 2014 10:46, "Emmanuel Touzery" <em...@lecip-its.com>
> a écrit :
>
>> Hello,
>>
>> we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is out, we are
>> interested to migrate to it, and start using the new java8 features. We are
>> not sure which hibernate version introduced support for java8 (it turns out
>> extremely difficult to come to that information...), so we planned to move
>> to the latest hibernate 4.3 version, however we found this:
>> http://stackoverflow.com/a/15771969/516188
>>
>> There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
>> supported by TomEE, because it's Java EE 7."/. I wonder, is that true? That
>> we can't use hibernate 4.3+ with tomee 1.x? We definitely don't want to use
>> JEE7 features until all is ready. We are looking for a supported
>> configuration.
>>
>> If that is true, does anyone know whether that prevents us from using
>> tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for that?
>> (yes, this last question I guess I should rather ask in a hibernate forum,
>> but I can try asking here just in case someone happens to know)
>>
>> Regards,
>>
>> Emmanuel
>>
Re: tomee+hibernate+java8 possible?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
If you add jpa 2.1 api replacing javee api jar by geronimo jar (javee api
is just a shade of geronimos ones) it should work
Le 18 août 2014 10:46, "Emmanuel Touzery" <em...@lecip-its.com>
a écrit :
> Hello,
>
> we are using tomee 1.6 with hibernate 4.2. Now that 1.7 is out, we are
> interested to migrate to it, and start using the new java8 features. We are
> not sure which hibernate version introduced support for java8 (it turns out
> extremely difficult to come to that information...), so we planned to move
> to the latest hibernate 4.3 version, however we found this:
> http://stackoverflow.com/a/15771969/516188
>
> There it's written /"However, Hibernate 4.3+ (JPA 2.1) is not
> supported by TomEE, because it's Java EE 7."/. I wonder, is that true? That
> we can't use hibernate 4.3+ with tomee 1.x? We definitely don't want to use
> JEE7 features until all is ready. We are looking for a supported
> configuration.
>
> If that is true, does anyone know whether that prevents us from using
> tomee 1.x+hibernate+java8? Or maybe hibernate 4.2.x is enough for that?
> (yes, this last question I guess I should rather ask in a hibernate forum,
> but I can try asking here just in case someone happens to know)
>
> Regards,
>
> Emmanuel
>