RE: JPA with Karaf

2014-05-26 Thread Ephemeris Lappis
Hello. I'm testing Hibernate on ServiceMix, and I have similar problems. I've tried using the Hibernate 4.2.7 that comes with ServiceMix 5.0.1, but as it did work, I've built a simple feature with the 4.2.12. I had the same error that you described about the the EntityManagerFactory, and stopping

RE: JPA with Karaf

2014-01-15 Thread Dutertry Nicolas
-- Nicolas -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: mercredi 15 janvier 2014 06:46 To: user@karaf.apache.org Subject: Re: JPA with Karaf By the way, reviewing the OpenJPA feature, we found that the problem is in the feature itself. We fix both OpenJPA

Re: JPA with Karaf

2014-01-15 Thread Jean-Baptiste Onofré
@karaf.apache.org Subject: Re: JPA with Karaf By the way, reviewing the OpenJPA feature, we found that the problem is in the feature itself. We fix both OpenJPA 2.2.2 and 2.3.0 features for the next Karaf release. Sorry about that. Regards JB On 01/14/2014 10:33 AM, Dutertry Nicolas wrote: Hi, I am trying

RE: JPA with Karaf

2014-01-15 Thread Dutertry Nicolas
Onofré [mailto:j...@nanthrax.net] Sent: mercredi 15 janvier 2014 15:02 To: user@karaf.apache.org Subject: Re: JPA with Karaf Hi Nicolas, thanks for the update. What's version of the hibernate feature do you use ? Regards JB On 01/15/2014 02:53 PM, Dutertry Nicolas wrote: The hibernate feature

Re: JPA with Karaf

2014-01-15 Thread lb
start 127 This is somewhat dirty, I hope we can find a better solution. Regards, -- Nicolas -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: mercredi 15 janvier 2014 15:02 To: user@karaf.apache.org Subject: Re: JPA with Karaf Hi Nicolas, thanks

Re: JPA with Karaf

2014-01-15 Thread Christoph Gritschenberger
bundle install url_to_my_bundle start 127 This is somewhat dirty, I hope we can find a better solution. Regards, -- Nicolas -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: mercredi 15 janvier 2014 15:02 To: user@karaf.apache.org Subject: Re: JPA with Karaf Hi

Re: JPA with Karaf

2014-01-15 Thread Jean-Baptiste Onofré
, -- Nicolas -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: mercredi 15 janvier 2014 15:02 To: user@karaf.apache.org Subject: Re: JPA with Karaf Hi Nicolas, thanks for the update. What's version of the hibernate feature do you use ? Regards JB On 01/15/2014

Re: JPA with Karaf

2014-01-14 Thread Jean-Baptiste Onofré
Hi Nicolas, could you try with OpenJPA 2.2.2 ? AFAIR it seems OpenJPA 2.3.0 has an issue. Regards JB On 01/14/2014 10:33 AM, Dutertry Nicolas wrote: Hi, I am trying to use JPA with Karaf 3.0.0 but it does not work. First of all I have installed the following features : karaf@root()

Re: JPA with Karaf

2014-01-14 Thread Achim Nierbeck
Yes I'm able to confirm, the openjpa 2.3.0 feature does have an issue. If you take a look at how the openjpa requirements for 2.2.0 are defined in camel you'll find a working sample :) regards, Achim 2014/1/14 Jean-Baptiste Onofré j...@nanthrax.net Hi Nicolas, could you try with OpenJPA

Re: JPA with Karaf

2014-01-14 Thread Christoph Gritschenberger
Hi, Try adding providerorg.apache.openjpa.persistence.PersistenceProviderImpl/provider to your persistence-unit. I got a working setup with OpenJPA 2.3.0. kind regards, christoph On 2014-01-14 12:01, Jean-Baptiste Onofré wrote: Hi Nicolas, could you try with OpenJPA 2.2.2 ? AFAIR it seems

Re: JPA with Karaf

2014-01-14 Thread Achim Nierbeck
btw. this is a working feature, I used in a sample with Karaf 3.0 feature name='Karaf-JPA-OpenJPA' version='${project.version}' !-- Container dependencies -- featuretransaction/feature featurejpa/feature featurejndi/feature !-- Dependencies for OpenJPA

RE: JPA with Karaf

2014-01-14 Thread Dutertry Nicolas
Subject: Re: JPA with Karaf btw. this is a working feature, I used in a sample with Karaf 3.0 feature name='Karaf-JPA-OpenJPA' version='${project.version}' !-- Container dependencies -- featuretransaction/feature featurejpa/feature featurejndi/feature

Re: JPA with Karaf

2014-01-14 Thread Achim Nierbeck
if it does not work ? Regards -- Nicolas Dutertry *From:* Achim Nierbeck [mailto:bcanh...@googlemail.com] *Sent:* mardi 14 janvier 2014 12:20 *To:* user@karaf.apache.org *Subject:* Re: JPA with Karaf btw. this is a working feature, I used in a sample with Karaf 3.0 feature

Re: JPA with Karaf

2014-01-14 Thread Jean-Baptiste Onofré
wondering why Karaf 3.0.0 provide an openjpa feature if it does not work ? Regards -- Nicolas Dutertry *From:*Achim Nierbeck [mailto:bcanh...@googlemail.com] *Sent:* mardi 14 janvier 2014 12:20 *To:* user@karaf.apache.org *Subject:* Re: JPA with Karaf btw. this is a working feature, I used

Re: JPA with Karaf

2014-01-14 Thread Jean-Baptiste Onofré
We actually didn't switch as we didn't provide any jpa features previously ;) Regards JB On 01/14/2014 02:39 PM, Achim Nierbeck wrote: Looks like we've been to optimistic for the 2.3. version switch ... :/ sorry about that. regards, Achim 2014/1/14 Dutertry Nicolas

Re: JPA with Karaf

2014-01-14 Thread Jean-Baptiste Onofré
By the way, reviewing the OpenJPA feature, we found that the problem is in the feature itself. We fix both OpenJPA 2.2.2 and 2.3.0 features for the next Karaf release. Sorry about that. Regards JB On 01/14/2014 10:33 AM, Dutertry Nicolas wrote: Hi, I am trying to use JPA with Karaf 3.0.0