|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.idms.jdbc.IdmsCommonDataSource ca.idms.jdbc.IdmsCommonPoolDataSource ca.idms.jdbc.IdmsConnectionPoolDataSource
public class IdmsConnectionPoolDataSource
The CA IDMS JDBC ConnectionPoolDataSource implementation class.
IdmsDataSource
,
IdmsPooledConnection
Field Summary |
---|
Fields inherited from class ca.idms.jdbc.IdmsCommonDataSource |
---|
CCI, IDMS, TCP |
Fields inherited from interface ca.idms.jdbc.IdmsDriverInterface |
---|
ACCOUNT, BATCH, CCIHOST, CCIPORT, CSUSPEND, CUSTOM, DEF_CCIPORT, DEF_TASK, DEFSCHEM, EWAIT, INFO, INTERACTIVE, NODE, PASSWORD, PROGRAM, RSINT, SBUFLEN, SERVICE, SSL, STRACE, SUSPEND, TASK, USER, VIA |
Constructor Summary | |
---|---|
IdmsConnectionPoolDataSource()
|
Method Summary | |
---|---|
javax.sql.PooledConnection |
getPooledConnection()
Connect using the default user id and password. |
javax.sql.PooledConnection |
getPooledConnection(java.lang.String uid,
java.lang.String pwd)
Connect using the specified user id and password. |
Methods inherited from class ca.idms.jdbc.IdmsCommonPoolDataSource |
---|
getInitialPoolSize, getMaxIdleTime, getMaxPoolSize, getMaxStatements, getMinPoolSize, getPropertyCycle, list, setInitialPoolSize, setMaxIdleTime, setMaxPoolSize, setMaxStatements, setMinPoolSize, setPropertyCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.CommonDataSource |
---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Constructor Detail |
---|
public IdmsConnectionPoolDataSource()
Method Detail |
---|
public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
java.sql.SQLException
- if an error occurs.public javax.sql.PooledConnection getPooledConnection(java.lang.String uid, java.lang.String pwd) throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
uid
- the IDMS user id, can't be null, IDMS will complainpwd
- the IDMS password, can be null if IDMS is not secured
java.sql.SQLException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |