You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2015/02/23 11:05:11 UTC

[jira] [Commented] (OLINGO-580) Support JTA based transactions in JPA processor

    [ https://issues.apache.org/jira/browse/OLINGO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333172#comment-14333172 ] 

Michael Bolz commented on OLINGO-580:
-------------------------------------

Hi,

could a solution with the _Callback_ approach (like the {{OnJPAWriteContent}}) work for this?
So that the {{ODataTransactionContext}} is implemented as {{ODataTransactionCallback}}?

This way in the {{ODataJPAServiceFactory}} a method like: {{protected void setTransactionCallback(final ODataTransactionCallback callback)}} can be provided and if someone want to implement (inherit) his own {{ODataServiceFactory}} he can support the callback (interface) directly via the {{getCallback(…)}} method.

Kind regards,
Michael


> Support JTA based transactions in JPA processor
> -----------------------------------------------
>
>                 Key: OLINGO-580
>                 URL: https://issues.apache.org/jira/browse/OLINGO-580
>             Project: Olingo
>          Issue Type: New Feature
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.3
>            Reporter: Chandan V.A
>            Assignee: Chandan V.A
>             Fix For: V2 2.0.3
>
>
> Olingo V2 JPA processor supports RESOURCE_LOCAL based transaction. Enhance the processor to support JTA based transactions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)