Ah yes, JB you're right, I read too fast and I thought it was related to Aries JPA.
Sorry for the noise ;) regards, François Papon [email protected] Le 05/10/2018 à 20:23, Jean-Baptiste Onofré a écrit : > Not sure it's the same issue, here the user seems to have a problem with > the JDBC driver. > > Regards > JB > > On 05/10/2018 17:37, Francois Papon wrote: >> Hi, >> >> I had an issue when adding the karaf-jpa-example with OpenJPA 3 related >> to the PersistenceProviderImpl and the SPI in Aries JPA. >> >> I'm not sure it works well actually, I can make some new test. >> >> regards, >> >> François Papon >> [email protected] >> >> Le 05/10/2018 à 17:58, Jean-Baptiste Onofré a écrit : >>> Just for a test, did you try to add the jdbc driver as Private-Package ? >>> >>> I think the JDBC driver is not in the classloader and so it's not found >>> when you do Class.forName(). >>> >>> You have to use explicitly import the jdbc driver package or better to >>> define the datasource externally (using Karaf jdbc feature for instance). >>> >>> Regards >>> JB >>> >>> On 05/10/2018 14:37, munishgupta.asr wrote: >>>> yes exactly like that >>>> >>>> >>>> >>>> -- >>>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html >>>>
