tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Tomee 1.7.1 compatible in Java 8
Date Thu, 19 Feb 2015 18:55:47 GMT
For JPA 2.1 yes, that said I'm not yet fully convinced it can be
needed for something else than geek reasons ;)

About DS: no link to CDI so why DS? :p. Then issue doing before before
specs is there is often a mismatch afterwards and you managed to use
EE to get vendor locked :) (see @Tx for instance)


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-02-19 19:50 GMT+01:00 jieryn <jieryn@gmail.com>:
> It's a quick fix.. DeltaSpike should do it *cough cough*
>
> https://weblogs.java.net/blog/montanajava/archive/2014/06/17/using-java-8-datetime-classes-jpa
>
> On Thu, Feb 19, 2015 at 1:47 PM, Romain Manni-Bucau
> <rmannibucau@gmail.com> wrote:
>> yes but JPA doesnt support it even in JavaEE 7
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-02-19 19:43 GMT+01:00 Howard W. Smith, Jr. <smithh032772@gmail.com>:
>>> Agreed. Should not be too hard, since tomee has jodatime 1.6.2 dependency
>>> for years now. Right?
>>>
>>> Java 8 new Date time API = jodatime
>>>  On Feb 19, 2015 1:24 PM, "cchacin" <cchacin@gmail.com> wrote:
>>>
>>>> Also we need to make some hacks to use new Date & Time API.
>>>>
>>>> On Thu, Feb 19, 2015, 10:13 AM Romain Manni-Bucau [via TomEE & OpenEJB]
<
>>>> ml-node+s979440n4673801h89@n4.nabble.com> wrote:
>>>>
>>>> > OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
>>>> > API so if you use them entity lifecycle can be broken. typically if
>>>> > you modify a collection using stream API instead of Collection API
>>>> > then the relationship will not get updated as exepected in the
>>>> > database. Rarely an issue in practise but abusing of JPA as domain
>>>> > objects with java 8 can lead to such issues.
>>>> >
>>>> >
>>>> > Romain Manni-Bucau
>>>> > @rmannibucau
>>>> > http://www.tomitribe.com
>>>> > http://rmannibucau.wordpress.com
>>>> > https://github.com/rmannibucau
>>>> >
>>>> >
>>>> > 2015-02-19 19:08 GMT+01:00 Suzanne Genod <[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=0>>:
>>>> >
>>>> > > Hi,
>>>> > >
>>>> > > Would you please expand on what are TomE 1.7.1 limitations with
JPA
>>>> > > entities when running with Java 8?
>>>> > >
>>>> > > Thanks,
>>>> > > Suz
>>>> > >
>>>> > > On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <[hidden
email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=1>>
>>>> > > wrote:
>>>> > >
>>>> > >> Just a side note: it works while you don't abuse of it in JPA
entities
>>>> > >> (it is only tolerated here)
>>>> > >>
>>>> > >>
>>>> > >> Romain Manni-Bucau
>>>> > >> @rmannibucau
>>>> > >> http://www.tomitribe.com
>>>> > >> http://rmannibucau.wordpress.com
>>>> > >> https://github.com/rmannibucau
>>>> > >>
>>>> > >>
>>>> > >> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <[hidden
email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=2>>:
>>>> > >> > Thx for the feedback Vincenzo.
>>>> > >> >
>>>> > >> > Very cool to see users answering questions from other
users. That's
>>>> > very
>>>> > >> > important.
>>>> > >> >
>>>> > >> > and btw, you are right. All the bytecode processing has
been updated
>>>> > to
>>>> > >> > support Java 8
>>>> > >> >
>>>> > >> > --
>>>> > >> > Jean-Louis Monteiro
>>>> > >> > http://twitter.com/jlouismonteiro
>>>> > >> > http://www.tomitribe.com
>>>> > >> >
>>>> > >> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <[hidden
email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=3>>
>>>> > >> > wrote:
>>>> > >> >
>>>> > >> >> Hi, yes, I'm actively using it with Java 8.
>>>> > >> >>
>>>> > >> >> On Thu, Feb 19, 2015 at 5:26 PM, [hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=4>
<[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=5>
>>>> > >> >
>>>> > >> >> wrote:
>>>> > >> >>
>>>> > >> >> > Hi all,
>>>> > >> >> >
>>>> > >> >> > Is Tomee 1.7.1 is compatible in Java 8?
>>>> > >> >> >
>>>> > >> >> > Thanks
>>>> > >> >> > Kayal
>>>> > >> >> >
>>>> > >> >> >
>>>> > >> >> >
>>>> > >> >> > --
>>>> > >> >> > View this message in context:
>>>> > >> >> >
>>>> > >> >>
>>>> > >>
>>>> >
>>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>>>> > >> >> > Sent from the TomEE Users mailing list archive
at Nabble.com.
>>>> > >> >> >
>>>> > >> >>
>>>> > >> >>
>>>> > >> >>
>>>> > >> >> --
>>>> > >> >> Vincenzo D'Amore
>>>> > >> >> email: [hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=6>
>>>> > >> >> skype: free.dev
>>>> > >> >> mobile: +39 349 8513251
>>>> > >> >>
>>>> > >>
>>>> >
>>>> >
>>>> > ------------------------------
>>>> >  If you reply to this email, your message will be added to the discussion
>>>> > below:
>>>> >
>>>> >
>>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673801.html
>>>> >  To start a new topic under TomEE Users, email
>>>> > ml-node+s979440n979441h29@n4.nabble.com
>>>> > To unsubscribe from TomEE Users, click here
>>>> > <
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=979441&code=Y2NoYWNpbkBnbWFpbC5jb218OTc5NDQxfDE2NzcwMDYzOTY=
>>>> >
>>>> > .
>>>> > NAML
>>>> > <
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>> -----
>>>> Carlos Chacin
>>>> http://github.com/cchacin
>>>> --
>>>> View this message in context:
>>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673802.html
>>>> Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message