[
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)