cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: How to execute a stored procedure as part of a commitChanges?
Date Mon, 11 Apr 2016 15:05:38 GMT
See the bottom part of this page starting at "In the second scenario":

https://cayenne.apache.org/docs/4.0/cayenne-guide/persistent-objects-objectcontext.html#transactions


On Mon, Apr 11, 2016 at 10:54 AM, Juan Manuel Diaz Lara
<jmdiazlr@yahoo.com.invalid> wrote:
>
>
>  I have a dataobjet graph with some changes, and a db stored procedure that should run
after this changes are in the db, but must run in the same transaction because it make some
more changes to other data, this changes can fail so I want the commitChanges fail if the
stored procedure fails.
>  Atte. Juan Manuel Díaz Lara
>
>
>
>

Mime
View raw message