Use constants for setting stored procedure operator

greenspun.com : LUSENET : OCI Best Practices : One Thread

When running a stored procedure please use the constants defined in UnitCommonTypes:


SP_OPERATION_INSERT
SP_OPERATION_DELETE
SP_OPERATION_UPDATE

If you're maintaining collections use the UnitCommonCollectionAbstract constant typed array


DBOPERATION_TO_OPERATION

This maps TDBOperation enumeration values -- doNone, doInsert, doDelete, and doUpdate -- to the appropriate SP_OPERATION constant.

-- Anonymous, August 27, 1998


Moderation questions? read the FAQ