Subject | Re: [IBO] Rollback to a point, not all the changes |
---|---|
Author | Jason Wharton |
Post date | 2003-12-09T00:19:14Z |
To be more clear, you actually need to use:
T<myIBOClass>.ExecuteImmediate( 'SAVEPOINT A', nil );
And
T<myIBOClass>.ExecuteImmediate( ROLLBACK TO A', nil );
In order for this to work. Neither the SavePoint or LosePoint methods will
do you any good for taking advantage of this functionality. I could perhaps
be tempted into supplying an overloaded version of those methods with the
name parameter but I'm not yet convinced this is how I would want to
implement them.
Ideas?
Jason Wharton
T<myIBOClass>.ExecuteImmediate( 'SAVEPOINT A', nil );
And
T<myIBOClass>.ExecuteImmediate( ROLLBACK TO A', nil );
In order for this to work. Neither the SavePoint or LosePoint methods will
do you any good for taking advantage of this functionality. I could perhaps
be tempted into supplying an overloaded version of those methods with the
name parameter but I'm not yet convinced this is how I would want to
implement them.
Ideas?
Jason Wharton