|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.postgresql.jdbc2.optional.BaseDataSource org.postgresql.jdbc2.optional.ConnectionPool org.geotools.data.geometryless.wrapper.PGConnectionPool
Wraps a Postgres ConnectionPoolDataSource implementation to support the setURL() method
The jdbc3 8.0x driver includes org.postgresql.jdbc2.optional.ConnectionPool, which wrappers org.postgresql.ds.PGConnectionPool, so you could use that as the extension class for 8.0x driver, ie instead of org.postgresql.jdbc2.optional.ConnectionPool, but it does't really matter, however that's why this class has the name it has
in info.xml, you need to set
Constructor Summary | |
PGConnectionPool()
|
Method Summary | |
void |
setURL(java.lang.String dbURL)
Sets the JDBC database login credentials. |
Methods inherited from class org.postgresql.jdbc2.optional.ConnectionPool |
getDescription, getPooledConnection, getPooledConnection, isDefaultAutoCommit, setDefaultAutoCommit |
Methods inherited from class org.postgresql.jdbc2.optional.BaseDataSource |
createReference, getConnection, getConnection, getDatabaseName, getLoginTimeout, getLogWriter, getPassword, getPortNumber, getReference, getServerName, getUser, readBaseObject, setDatabaseName, setLoginTimeout, setLogWriter, setPassword, setPortNumber, setServerName, setUser, writeBaseObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.ConnectionPoolDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Constructor Detail |
public PGConnectionPool()
Method Detail |
public void setURL(java.lang.String dbURL) throws java.sql.SQLException
java.sql.SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |