Registers a callback method to be invoked whenever a transaction is committed.
||The arguments are:
||An instantiated object with a method that will be invoked whenever a transaction is committed.
However, this argument can also be .nil to indicate that any installed commit hook is to be removed.
||The method name that will be invoked during a call back. By default, the method invoked will becommitHookCallBack(). However, the user can specify an alternative method if desired. This
argument is ignored when thecallbackObjargument is .nil.
||This can be any Rexx object the user desires. The object will be sent as the first and only argument to the commit
hook callback method when it is invoked. This argument is ignored when the callbackObj argument is .nil.
||TheuserDataargument to a previous invocation of thecommitHookmethod on the same database connection, or .nil if there has not been a previous
invocation or theuserDataargument was not used on the previous invocation.
||The functionality of thecommitHookmethod is similar to that of the SQLite