|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openeai.OpenEaiObject
org.openeai.dbpool.EnterpriseDbConnectionObject
org.openeai.dbpool.EnterprisePooledConnection
public class EnterprisePooledConnection
This is the actual java.sql.Connection that is stored in the EnterpriseConnectionPool.
| Field Summary |
|---|
| Fields inherited from class org.openeai.OpenEaiObject |
|---|
logger |
| Constructor Summary | |
|---|---|
EnterprisePooledConnection(java.lang.String poolName,
java.lang.String driverName,
java.lang.String connString,
java.lang.String connUserId,
java.lang.String connUserPassword,
java.lang.String verifyString)
Constructor |
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
Returns the java.sql.Connection object associated to this pooled connection. |
long |
getConnectionId()
|
boolean |
isInuse()
Returns a flag indicating whether or not this connection is in use. |
void |
setConnection(java.sql.Connection conn)
Sets the java.sql.Connection object associated to this pooled connection object. |
void |
setConnectionId(long id)
|
void |
setInuse(boolean inUse)
Sets a flag indicating whether or not this connection is in use. |
| Methods inherited from class org.openeai.dbpool.EnterpriseDbConnectionObject |
|---|
getConnectPassword, getConnectString, getConnectUserId, getDriverName, getPoolName, getVerificationQueryString, setConnectPassword, setConnectString, setConnectUserId, setDriverName, setPoolName, setVerificationQueryString |
| Methods inherited from class org.openeai.OpenEaiObject |
|---|
getAppName, getDebug, getFromAddr, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnterprisePooledConnection(java.lang.String poolName,
java.lang.String driverName,
java.lang.String connString,
java.lang.String connUserId,
java.lang.String connUserPassword,
java.lang.String verifyString)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public void setInuse(boolean inUse)
inUse - booleanpublic boolean isInuse()
public void setConnectionId(long id)
public long getConnectionId()
public java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLException - if errors occur re-establishing the connection with the database.public void setConnection(java.sql.Connection conn)
conn - java.sql.Connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||