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

Ioannis Canellos updated CAMEL-3742:
------------------------------------

    Attachment: CAMEL-3742-patch.txt

I am attaching a patch, which updates camel-jpa component to use JPA2. In 
detail:

a) Upgraded OpenJPA for 1.2.2 to 2.1.1
b) Updated feature camel-jpa to use the latest version of OpenJPA.
c) Test class enhancement is not done with openjpa plugin, instead of 
ant-run-plugin.
d) Changed lockEntity method, to return true
if the entity object cannot be lock and is array (The newer version of openjpa 
won't lock object arrays, such as results of nativeQueries).

For d we might need to find a more elegant way to do it in the future.

> Upgrade camel-jpa to OpenJPA 2.1.0
> ----------------------------------
>
>                 Key: CAMEL-3742
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3742
>             Project: Camel
>          Issue Type: Task
>          Components: camel-jpa
>    Affects Versions: 2.6.0
>            Reporter: Christian Müller
>              Labels: jpa
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-3742-patch.txt
>
>
> A user requested the upgrade to JPA2 in 
> [Nabble|http://camel.465427.n5.nabble.com/JPA-2-Support-td3404931.html].
> OpenJPA 2.x implements JPA2: http://openjpa.apache.org/downloads.html
> The latest version is 2.1.0

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


Reply via email to