Methods Summary |
---|
public java.sql.Connection | getConnection()Returns java.sql.Connection
|
public java.lang.String | getDriverName()Returns JDBC driver name
|
public java.io.PrintWriter | getLogWriter()Returns the LogWriter to which messages should be sent
|
public int | getLoginTimeout()Returns the number of seconds to wait for a new connection to be
established to the data source
|
public int | getMaxPool()Returns maximum number of connections in the connection pool
|
public int | getMinPool()Returns minimum number of connections in the connection pool
|
public int | getMsInterval()Returns the amount of time, in milliseconds, between the connection
manager's attempts to get a pooled connection.
|
public int | getMsWait()Returns the number of milliseconds to wait for an available connection
from the connection pool before throwing an exception
|
public int | getTransactionIsolation()Returns current transaction isolation level for connections of this ConnectionFactory.
|
public java.lang.String | getURL()Returns connection URL
|
public java.lang.String | getUserName()Returns database user name
|
public void | setDriverName(java.lang.String driverName)Sets JDBC driver name
|
public void | setLogWriter(java.io.PrintWriter logWriter)Sets the LogWriter to which messages should be sent
|
public void | setLoginTimeout(int loginTimeout)Sets the number of seconds to wait for a new connection to be
established to the data source
|
public void | setMaxPool(int maxPool)Sets maximum number of connections in the connection pool
|
public void | setMinPool(int minPool)Sets minimum number of connections in the connection pool
|
public void | setMsInterval(int msInterval)Sets the amount of time, in milliseconds, between the connection
manager's attempts to get a pooled connection.
|
public void | setMsWait(int msWait)Sets the number of milliseconds to wait for an available connection
from the connection pool before throwing an exception
|
public void | setPassword(java.lang.String password)Sets database user password
|
public void | setTransactionIsolation(int level)Sets transaction isolation level for all connections of this ConnectionFactory.
All validation is done by java.sql.Connection itself, so e.g. while Oracle
will not allow to set solation level to TRANSACTION_REPEATABLE_READ, this method
does not have any explicit restrictions
|
public void | setURL(java.lang.String URL)Sets JDBC connection URL
|
public void | setUserName(java.lang.String userName)Sets database user
|