Methods Summary |
---|
public java.sql.Connection | getConnection()/
/*
Forward to the other method.
return getConnection(this.userName, this.password);
|
public java.sql.Connection | getConnection(java.lang.String userName, java.lang.String password)
if (isTransactional() && tm.isTransactionActive()) {
// This will actually eventually call back into this class, but allows
// the connection to be cached in the transaction first
return tm.getConnection(this, userName, password);
} else {//{
debug("Ds - Allocating new non-tx connection");
}
return internalGetConnection(userName, password);
|
public java.io.PrintWriter | getLogWriter()
return DriverManager.getLogWriter();
|
public int | getLoginTimeout()
return DriverManager.getLoginTimeout();
|
public java.lang.String | getName()
return this.dsName;
|
public java.sql.Connection | internalGetConnection(java.lang.String userName, java.lang.String password)
return DriverManager.getConnection(this.url, userName, password);
|
public java.sql.Connection | internalGetConnection()
return internalGetConnection(this.userName, this.password);
|
public boolean | isTransactional()
return tm != null;
|
public boolean | isWrapperFor(java.lang.Class iface)
return false;
|
public void | setLogWriter(java.io.PrintWriter out)
DriverManager.setLogWriter(out);
|
public void | setLoginTimeout(int seconds)
DriverManager.setLoginTimeout(seconds);
|
public void | setTransactionManager(oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.TransactionManagerImpl tm)
this.tm = tm;
|
public T | unwrap(java.lang.Class iface)
throw new SQLException();
|