Any way to execute a StoredProcedure as part of commitChanges() ?
Juan Manuel Diaz Lara <jmdiazlr-/[email protected]>
| Newsgroups | gmane.comp.java.cayenne.devel |
|---|---|
| Message-ID | <[email protected]> |
I want to post-process after flushing my context to db, before db transaction commit, and, if SP fails rollback the context to the pre-commitChanges state (at least retain the persistence state, just like it happens when there is a db exception while flushing to the db). If not posible, I'll appreciate any direction to hack the code. Thanks. Atte. Juan Manuel Díaz Lara