public class ConnectionConfig
extends java.lang.Object
Constructor and Description |
---|
ConnectionConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalog()
Gets the catalog.
|
int |
getTransactionIsolation()
Returns the isolation of the connection, with -1 for the default.
|
boolean |
isReadOnly()
Gets the read-only status.
|
void |
setCatalog(java.lang.String catalog)
Sets the catalog
|
void |
setReadOnly(boolean isReadOnly)
Sets the read-only status.
|
void |
setTransactionIsolation(java.lang.String name)
Sets the isolation of the connection.
|
public void setTransactionIsolation(java.lang.String name) throws ConfigException
ConfigException
public int getTransactionIsolation()
public void setReadOnly(boolean isReadOnly)
public boolean isReadOnly()
public void setCatalog(java.lang.String catalog)
public java.lang.String getCatalog()