2.2.6.8 OLETX_ISOLATION_FLAGS

The OLETX_ISOLATION_FLAGS bitfield enumeration values specify isolation flags for a transaction.

 typedef  enum 
 {
   ISOFLAG_RETAIN_DEFAULT = 0x00000000,
   ISOFLAG_RETAIN_COMMIT_DC = 0x00000001,
   ISOFLAG_RETAIN_COMMIT = 0x00000002,
   ISOFLAG_RETAIN_COMMIT_NO = 0x00000003,
   ISOFLAG_RETAIN_ABORT_DC = 0x00000004,
   ISOFLAG_RETAIN_ABORT = 0x00000008,
   ISOFLAG_RETAIN_ABORT_NO = 0x0000000C,
   ISOFLAG_RETAIN_DONTCARE = 0x00000005,
   ISOFLAG_RETAIN_BOTH = 0x0000000A,
   ISOFLAG_RETAIN_NONE = 0x0000000F,
   ISOFLAG_OPTIMISTIC = 0x00000010,
   ISOFLAG_READONLY = 0x00000020
 } OLETX_ISOLATION_FLAGS;

ISOFLAG_RETAIN_DEFAULT:  Default value if no other value has been set.

ISOFLAG_RETAIN_COMMIT_DC:  Retain locks on transaction commit, regardless of the success or failure of that commit request.

If this value is set, then ISOFLAG_RETAIN_COMMIT and ISOFLAG_RETAIN_COMMIT_NO MUST NOT be set.

ISOFLAG_RETAIN_COMMIT:  Retain locks on a successful transaction commit.

If this value is set, then ISOFLAG_RETAIN_COMMIT_DC and ISOFLAG_RETAIN_COMMIT_NO MUST NOT be set.

ISOFLAG_RETAIN_COMMIT_NO:  Do not retain locks on a transaction commit.

If this value is set, then ISOFLAG_RETAIN_COMMIT_DC and ISOFLAG_RETAIN_COMMIT MUST NOT be set.

ISOFLAG_RETAIN_ABORT_DC:  Retain locks on transaction abort, regardless of the success or failure of that Abort request.

If this value is set, then ISOFLAG_RETAIN_ABORT and ISOFLAG_RETAIN_ABORT_NO MUST NOT be set.

ISOFLAG_RETAIN_ABORT:  Retain locks on a successful transaction abort.

If this value is set, then ISOFLAG_RETAIN_ABORT_DC and ISOFLAG_RETAIN_ABORT_NO MUST NOT be set.

ISOFLAG_RETAIN_ABORT_NO:  Do not retain locks on a transaction abort.

If this value is set, then ISOFLAG_RETAIN_ABORT and ISOFLAG_RETAIN_ABORT_DC MUST NOT be set.

ISOFLAG_RETAIN_DONTCARE:  Retain locks on all transaction termination requests, regardless of whether the request was to abort or commit.

This is a synonym for selecting ISOFLAG_RETAIN_COMMIT_DC and ISOFLAG_RETAIN_ABORT_DC.

ISOFLAG_RETAIN_BOTH:  Retain locks on all successful transaction termination requests, regardless of whether or not the request was to abort or commit.

This is a synonym for selecting ISOFLAG_RETAIN_COMMIT and ISOFLAG_RETAIN_ABORT.

ISOFLAG_RETAIN_NONE:  Do not retain locks on any transaction termination requests.

This is a synonym for selecting ISOFLAG_RETAIN_COMMIT_NO and ISOFLAG_RETAIN_ABORT_NO.

ISOFLAG_OPTIMISTIC:  Optimistic locking is allowed.

ISOFLAG_READONLY:  The transaction is not expected to modify data.