public static class ConfigurationDBRef.ConnectionSettings
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ConnectionSettings() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAutoCommit()
Returns a boolean indicating auto-commit, or null if not set and default accepted.
|
java.lang.String |
getCatalog()
Gets the name of the catalog to set on new database connections, or null for default.
|
java.lang.Boolean |
getReadOnly()
Returns a boolean indicating read-only, or null if not set and default accepted.
|
java.lang.Integer |
getTransactionIsolation()
Returns the connection settings for transaction isolation level.
|
void |
setAutoCommit(java.lang.Boolean autoCommit)
Indicates whether to set any new connections for this database to auto-commit.
|
void |
setCatalog(java.lang.String catalog)
Sets the name of the catalog on new database connections.
|
void |
setReadOnly(java.lang.Boolean readOnly)
Indicates whether to set any new connections for this database to read-only.
|
void |
setTransactionIsolation(int transactionIsolation)
Sets the transaction isolation level for new database connections, can be null to accept the default.
|
public java.lang.Boolean getAutoCommit()
public void setAutoCommit(java.lang.Boolean autoCommit)
autoCommit
- true to set connections to auto-commit, or false, or null to not set this value on a new connectionpublic java.lang.String getCatalog()
public void setCatalog(java.lang.String catalog)
catalog
- is the name of the catalog to set, or null to accept the defaultpublic java.lang.Boolean getReadOnly()
public void setReadOnly(java.lang.Boolean readOnly)
readOnly
- true to set connections to read-only, or false, or null to not set this value on a new connectionpublic java.lang.Integer getTransactionIsolation()
public void setTransactionIsolation(int transactionIsolation)
transactionIsolation
- transaction isolation level