You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2011/09/12 10:59:08 UTC

[jira] [Updated] (CAMEL-4442) OpenJPA bundle used in camel-jpa should be more blueprint friendly

     [ https://issues.apache.org/jira/browse/CAMEL-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CAMEL-4442:
------------------------------------

    Description: 
camel-jpa is using openjpa version 1.2.2. Even though openjpa provides an OSGi bundle for that version, that bundle does not a service of the interface javax.persistence.spi.PersistenceProvider as it should to be fully compliant with the spec and also work with the blueprint.

This is something that is fixed in versions 2.x of openjpa, however they implement JPA2.

If we want to continue using 1.x version of openjpa we should, wrap up the openjpa bundle and export this service. 
I have already wrapped up openjpa under servicemix bundles (see [SMX4-909]). 

We should use this bundle as soon as it gets released, or switch to 2.x. 


  was:
camel-jpa is using openjpa version 1.2.2. Even though openjpa provides an OSGi bundle for that version, that bundle does not a service of the interface javax.persistence.spi.PersistenceProvider as it should to be fully compliant with the spec and also work with the blueprint.

This is something that is fixed in versions 2.x of openjpa, however they implement JPA2.

If we want to continue using 1.x version of openjpa we should, wrap up the openjpa bundle and export this service. 
I have already wrapped up openjpa under servicemix bundles (see [SMX4-909]. 

We should use this bundle as soon as it gets released, or switch to 2.x. 



> OpenJPA bundle used in camel-jpa should be more blueprint friendly
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4442
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4442
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jpa
>    Affects Versions: 2.8.0
>            Reporter: Ioannis Canellos
>
> camel-jpa is using openjpa version 1.2.2. Even though openjpa provides an OSGi bundle for that version, that bundle does not a service of the interface javax.persistence.spi.PersistenceProvider as it should to be fully compliant with the spec and also work with the blueprint.
> This is something that is fixed in versions 2.x of openjpa, however they implement JPA2.
> If we want to continue using 1.x version of openjpa we should, wrap up the openjpa bundle and export this service. 
> I have already wrapped up openjpa under servicemix bundles (see [SMX4-909]). 
> We should use this bundle as soon as it gets released, or switch to 2.x. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira