com.caucho.sql
Class ConnectionConfig

java.lang.Object
  extended by com.caucho.sql.ConnectionConfig

public class ConnectionConfig
extends java.lang.Object

Configures the connection


Constructor Summary
ConnectionConfig()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionConfig

public ConnectionConfig()
Method Detail

setTransactionIsolation

public void setTransactionIsolation(java.lang.String name)
                             throws ConfigException
Sets the isolation of the connection.

Throws:
ConfigException

getTransactionIsolation

public int getTransactionIsolation()
Returns the isolation of the connection, with -1 for the default.


setReadOnly

public void setReadOnly(boolean isReadOnly)
Sets the read-only status.


isReadOnly

public boolean isReadOnly()
Gets the read-only status.


setCatalog

public void setCatalog(java.lang.String catalog)
Sets the catalog


getCatalog

public java.lang.String getCatalog()
Gets the catalog.