Advertisement
Constants | Description |
---|---|
PROPOGATION_MANDATORY | Specifies a method which should be executed as a part of a transaction. |
PROPOGATION_REQUIRED | Searched an existing transaction and executes the associated method within it or creates a new transaction. |
PROPAGATION_REQUIRES_NEW | Specifies a method which should be executed in a new transaction. |
PROPAGATION_SUPPORTS | Specifies a method which can be executed inside or outside a transaction. |
PROPAGATION_NEVER | Specifies a method should never be executed in a transaction. If an transaction exists, an exception is thrown. |
PROPAGATION_NOT_SUPPORTED | Specifies a method should not be executed in a transaction. If an transaction exists, it is suspended until method finishes its execution. |
Advertisement
Constants | Description |
---|---|
ISOLATION_DEFAULT | Specifies a default isolation level defined in the relational databases. |
ISOLATION_READ_COMMITTED | Specifies that a transaction cannot read or change data which is still acquired by an existing transaction. |
ISOLATION_READ_UNCOMMITTED | Specifies that a transaction can read or change the data which is still acquired by an existingtransaction. |
ISOLATION_REPEATABLE_READ | This constant helps us to acquire the lock on the data a transaction needs. |
ISOLATION_SERIALIZABLE | Specifies that a transaction should be executed in a proper isolation, without the intrusion from another transaction. |
Advertisement
Advertisement
Please check our latest addition
PYTHON and DJANGO
Advertisement