tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cchacin <ccha...@gmail.com>
Subject Re: Tomee 1.7.1 compatible in Java 8
Date Thu, 19 Feb 2015 18:14:36 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message