Class TransactionDescriptor

    • Field Detail

      • ISOLATION_DEFAULT

        public static final int ISOLATION_DEFAULT
        Keep database default isolation level
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransactionDescriptor

        @Deprecated
        public TransactionDescriptor​(int isolation,
                                     TransactionPropagation propagation)
        Deprecated.
        since 4.2. Use builder() method instead.
        Parameters:
        isolation - one of the following Connection constants: Connection.TRANSACTION_READ_UNCOMMITTED, Connection.TRANSACTION_READ_COMMITTED, Connection.TRANSACTION_REPEATABLE_READ, Connection.TRANSACTION_SERIALIZABLE, or TransactionDescriptor.ISOLATION_DEFAULT
        propagation - transaction propagation behaviour
        See Also:
        TransactionPropagation
      • TransactionDescriptor

        @Deprecated
        public TransactionDescriptor​(int isolation)
        Deprecated.
        since 4.2. Use builder() method instead.
        Create transaction descriptor with desired isolation level and NESTED propagation
        Parameters:
        isolation - one of the following Connection constants: Connection.TRANSACTION_READ_UNCOMMITTED, Connection.TRANSACTION_READ_COMMITTED, Connection.TRANSACTION_REPEATABLE_READ, Connection.TRANSACTION_SERIALIZABLE, or TransactionDescriptor.ISOLATION_DEFAULT