Get Inserted/Deleted statements on an Update Query #3163
-
Is there a way that I could retrieve the statements that were modified in an update query? Basically I want to be able to do a "dry-run" of an update query (i.e., start a transaction, run an update, find the changed statements, rollback the transaction). Is something like this even possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You can do something along those lines with a
As you can see we need to cast the
|
Beta Was this translation helpful? Give feedback.
You can do something along those lines with a
SailConnectionListener
. The way to access this is a little bit clunky though. Here's an example: