- java.lang.Object
- 
- org.hsqldb.jdbc.JDBCCommonDataSource
- 
- org.hsqldb.jdbc.pool.JDBCPooledDataSource
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- javax.naming.Referenceable,- javax.sql.CommonDataSource,- javax.sql.ConnectionPoolDataSource
 
 public class JDBCPooledDataSource extends JDBCCommonDataSource implements javax.sql.ConnectionPoolDataSource, java.io.Serializable, javax.naming.Referenceable, javax.sql.CommonDataSource A data source that implementsConnectionPoolDataSource.For use by connection pooling software, not by end users. - Since:
- JDK 1.2, HSQLDB 2.0
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description JDBCPooledDataSource()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sql.PooledConnectiongetPooledConnection()javax.sql.PooledConnectiongetPooledConnection(java.lang.String user, java.lang.String password)javax.naming.ReferencegetReference()Retrieves the Reference of this object.- 
Methods inherited from class org.hsqldb.jdbc.JDBCCommonDataSourcegetDatabase, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getNetworkProtocol, getParentLogger, getServerName, getUrl, getURL, getUser, setDatabase, setDatabaseName, setLoginTimeout, setLogWriter, setPassword, setProperties, setUrl, setURL, setUser
 - 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
- 
 
- 
- 
- 
Method Detail- 
getPooledConnectionpublic javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException- Specified by:
- getPooledConnectionin interface- javax.sql.ConnectionPoolDataSource
- Throws:
- java.sql.SQLException
 
 - 
getPooledConnectionpublic javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException- Specified by:
- getPooledConnectionin interface- javax.sql.ConnectionPoolDataSource
- Throws:
- java.sql.SQLException
 
 - 
getReferencepublic javax.naming.Reference getReference() throws javax.naming.NamingExceptionRetrieves the Reference of this object.- Specified by:
- getReferencein interface- javax.naming.Referenceable
- Returns:
- The non-null javax.naming.Reference of this object.
- Throws:
- javax.naming.NamingException- If a naming exception was encountered while retrieving the reference.
 
 
- 
 
-