Hallo,
I am sorry, but I am still in trouble with JpaTemplate and API design. I am
trying to hide JpaTemplate in my service implementation, but I am not sure, if
this is the recommended approach. Unfortuantely, I cannot find any complex
examples in the web.
Let me explain the problem with the h
For now this is a good pattern. I plan to add a pure TransactionTemplate
or similar to cover this case outside of JPATemplate.
Alternatively you can inject a UserTransaction and use it to create the
transaction.
Christian
2017-04-21 16:49 GMT+02:00 Jens Offenbach :
> Hallo,
> I am sorry, but I
ards,
Jens
Gesendet: Samstag, 22. April 2017 um 13:22 Uhr
Von: "Christian Schneider"
An: user@aries.apache.org
Betreff: Re: Consistent entity updates without exposing JpaTemplate
For now this is a good pattern. I plan to add a pure TransactionTemplate or
similar to cover th
amstag, 22. April 2017 um 13:22 Uhr
> Von: "Christian Schneider"
> An: user@aries.apache.org
> Betreff: Re: Consistent entity updates without exposing JpaTemplate
>
> For now this is a good pattern. I plan to add a pure TransactionTemplate
> or similar to cover this case outs
; sounds really interesting.
>>
>> Can you plase provide a small example for your alternative solutions. How
>> can I obtain a "UserTransaction" to create the transaction?
>>
>> Best regards,
>> Jens
>>
>> Gesendet: Samstag, 22. April 201
.15396.n3.nabble.com/Consistent-entity-updates-without-exposing-JpaTemplate-tp4035160p4035167.html
Sent from the Aries - User mailing list archive at Nabble.com.