You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sekaijin <je...@aphp.fr> on 2016/02/05 16:58:47 UTC

camel-jpa 2.15.3 Blueprint openJpa problem

HI,

I'm use camel-jpa version 2.8.1 openjpa 2.1.1 under Karaf 2.2.2 without any
Difficulty.
I migrates for ServiceMix 5.5.1 camel-jpa 2.15.3 openjpa 2.3.0 karaf 2.4.3

I've added  to my pom.xml
I've successfully tested my datasource with camel-jdbc in my route.

but I obtien the following error:

persistence.xml

openjpa.xml

blueprint.xml


Thank



--
View this message in context: http://camel.465427.n5.nabble.com/camel-jpa-2-15-3-Blueprint-openJpa-problem-tp5777283.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-jpa 2.15.3 Blueprint openJpa problem

Posted by sekaijin <je...@aphp.fr>.
Hi,

I've found the solution.
In camel-jpa 2.8.1 the datasource name in persistence.xml is
osgi:/service/*s*/javax.sql.DataSource/(name=omer)
but in camel-jpa 2.15.3 this name is
osgi:/service//javax.sql.DataSource/(name=omer)

persistence.xml 


A+JYT



--
View this message in context: http://camel.465427.n5.nabble.com/camel-jpa-2-15-3-Blueprint-openJpa-problem-tp5777283p5777467.html
Sent from the Camel - Users mailing list archive at Nabble.com.