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
<jmdia...@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
>
>
>
>

Reply via email to