public enum DdlInTransactionMode extends Enum<DdlInTransactionMode>
Enum used for setting the behavior of DDL in read/write transactions.
Static Fields |
|
---|---|
Name | Description |
ALLOW_IN_EMPTY_TRANSACTION |
DDL statements in an empty transaction are allowed. That is; if the connection is in AutoCommit=false mode and no other statement has been executed, then executing a DDL statement or a DDL batch is allowed. |
AUTO_COMMIT_TRANSACTION |
DDL statements automatically cause the current transaction to be committed and the DDL statement is subsequently executed without a transaction. This is equal to how MySQL and Oracle behave. |
FAIL |
All DDL statements in a read/write transaction fail. |
Static Methods |
|
---|---|
Name | Description |
valueOf(String name) |
|
values() |