Partager via


StoreTransactionScopeKind Enum

  • java.lang.Object
    • java.lang.Enum<StoreTransactionScopeKind>
      • com.microsoft.azure.elasticdb.shard.store.StoreTransactionScopeKind

public enum StoreTransactionScopeKind

Type of transaction scope.

Fields

NonTransactional

A non-transactional scope, uses auto-commit transaction mode. Useful for performing operations that are not allowed to be executed within transactions such as Kill connections.

ReadOnly

Read only transaction scope, uses read-committed transaction mode. Read locks are acquired purely during row read and then released.

ReadWrite

Read write transaction scope, uses repeatable-read transaction mode. Read locks are held till Commit or Rollback.

SIZE

Methods

forValue(int value)

public static StoreTransactionScopeKind forValue(int value)

Parameters

value
int

Returns

getValue()

public int getValue()

Returns

int

Applies to