Re: : Unable to resolve class oracle.jdbc.xa.client.OracleXADataSource

2015-02-19 Thread agumbrecht
Hi Jean André scopeprovided/scope ...means that this dependency is expected to be found at runtime on the classpath - This usually means that the container is expected to provide the library. Either physically copy the oracle driver jar file into your [TomEE]/lib directory, or make sure it is

Re: strange qbe query for tomee 1.6.0 stable (OpenJPA 2.3.0-nonfinal-1540826)

2015-02-19 Thread Leonardo K. Shikida
actually, I thought joincolumn here would be the FK name, not the referenced PK name in the other table [] Leo On Wed, Feb 18, 2015 at 7:01 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi not sure it is fixed but wonder if your joincolumn shouldnt be id? Romain Manni-Bucau

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Romain Manni-Bucau
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

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Romain Manni-Bucau
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

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Romain Manni-Bucau
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. smithh032...@gmail.com: Agreed. Should not be too hard, since tomee has

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread cchacin
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+s979440n4673801...@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

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Suzanne Genod
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 rmannibu...@gmail.com wrote: Just a side note: it works while you don't abuse of it in JPA entities (it is only tolerated

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Howard W. Smith, Jr.
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 ccha...@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

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread jieryn
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 rmannibu...@gmail.com wrote: yes but JPA doesnt support it even in JavaEE 7 Romain

Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread sensu...@gmail.com
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.

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Vincenzo D'Amore
Hi, yes, I'm actively using it with Java 8. On Thu, Feb 19, 2015 at 5:26 PM, sensu...@gmail.com sensu...@gmail.com wrote: Hi all, Is Tomee 1.7.1 is compatible in Java 8? Thanks Kayal -- View this message in context:

Re: serializeAsArray JacksonJaxbJsonProvider

2015-02-19 Thread foolbus
That fixed it!! THANK YOU!!! -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/serializeAsArray-JacksonJaxbJsonProvider-tp4672427p4673796.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Jean-Louis Monteiro
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,

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Romain Manni-Bucau
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 jlmonte...@tomitribe.com:

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread Vincenzo D'Amore
Hi Kayal, I have created a Vagrant project useful to automatically deploy Tomee into a virtual machine. Usually Vagrant is used with VirtualBox, but I have successfully used it with AWS, Azure and Google Computer Engine. During the provisioning process Java 8 is installed... so Tomee runs in Java