org.enhydra.jdbc.informix
Class InformixConnectionPoolDataSource

java.lang.Object
  extended byorg.enhydra.jdbc.util.JdbcUtil
      extended byorg.enhydra.jdbc.core.CoreDataSource
          extended byorg.enhydra.jdbc.standard.StandardDataSource
              extended byorg.enhydra.jdbc.standard.StandardConnectionPoolDataSource
                  extended byorg.enhydra.jdbc.informix.InformixConnectionPoolDataSource
All Implemented Interfaces:
javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, javax.naming.spi.ObjectFactory, javax.naming.Referenceable, java.io.Serializable

public class InformixConnectionPoolDataSource
extends StandardConnectionPoolDataSource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
DEFAULT_PREPAREDSTMTCACHESIZE
 
Fields inherited from class org.enhydra.jdbc.core.CoreDataSource
logWriter, password, user
 
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil
log
 
Constructor Summary
InformixConnectionPoolDataSource()
           
 
Method Summary
 javax.sql.PooledConnection getPooledConnection()
          Create a pooled connection using the default username and password.
 javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password)
          Create a informix pooled connection using the supplied username and password.
 
Methods inherited from class org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
getMasterPrepStmtCache, getPreparedStmtCacheSize, setPreparedStmtCacheSize, toString
 
Methods inherited from class org.enhydra.jdbc.standard.StandardDataSource
equals, getConnection, getConnection, getDriverName, getObjectInstance, getReference, getTransactionIsolation, getUrl, hashCode, setDriverName, setTransactionIsolation, setUrl
 
Methods inherited from class org.enhydra.jdbc.core.CoreDataSource
getDescription, getLoginTimeout, getLogWriter, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDebug, setDescription, setLoginTimeout, setLogWriter, setPassword, setThreadFactory, setUser, setVerbose, shutdown
 
Methods inherited from class org.enhydra.jdbc.util.JdbcUtil
setLogger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.sql.ConnectionPoolDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface javax.sql.DataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 

Constructor Detail

InformixConnectionPoolDataSource

public InformixConnectionPoolDataSource()
Method Detail

getPooledConnection

public javax.sql.PooledConnection getPooledConnection()
                                               throws java.sql.SQLException
Create a pooled connection using the default username and password.

Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Overrides:
getPooledConnection in class StandardConnectionPoolDataSource
Throws:
java.sql.SQLException

getPooledConnection

public javax.sql.PooledConnection getPooledConnection(java.lang.String user,
                                                      java.lang.String password)
                                               throws java.sql.SQLException
Create a informix pooled connection using the supplied username and password.

Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Overrides:
getPooledConnection in class StandardConnectionPoolDataSource
Throws:
java.sql.SQLException