Interface and Description |
---|
org.postgresql.PGRefCursorResultSet
As of 8.0, this interface is only present for backwards- compatibility purposes. New
code should call getString() on the ResultSet that contains the refcursor to obtain
the underlying cursor name.
|
Class and Description |
---|
org.postgresql.jdbc2.optional.ConnectionPool
Please use
PGConnectionPoolDataSource |
org.postgresql.jdbc.EscapedFunctions |
org.postgresql.fastpath.Fastpath
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
org.postgresql.fastpath.FastpathArg
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
org.postgresql.jdbc3.Jdbc3ConnectionPool
Please use
PGConnectionPoolDataSource |
org.postgresql.jdbc3.Jdbc3PoolingDataSource
Since 42.0.0, see
PGPoolingDataSource |
org.postgresql.jdbc3.Jdbc3SimpleDataSource
Please use
PGSimpleDataSource |
org.postgresql.ds.PGPoolingDataSource
Since 42.0.0, instead of this class you should use a fully featured connection pool
like HikariCP, vibur-dbcp, commons-dbcp, c3p0, etc.
|
org.postgresql.jdbc2.optional.PoolingDataSource
Since 42.0.0, see
PGPoolingDataSource |
org.postgresql.jdbc2.optional.SimpleDataSource
Please use
PGSimpleDataSource |
Field and Description |
---|
org.postgresql.core.QueryExecutor.QUERY_DISALLOW_BATCHING
in PgJDBC 9.4 as we now auto-size batches.
|
Method and Description |
---|
org.postgresql.PGConnection.addDataType(String, String)
As of 8.0, replaced by
PGConnection.addDataType(String, Class) . This deprecated method
does not work correctly for registering classes that cannot be directly loaded by
the JDBC driver's classloader. |
org.postgresql.largeobject.LargeObjectManager.create()
As of 8.3, replaced by
LargeObjectManager.createLO() |
org.postgresql.largeobject.LargeObjectManager.create(int)
As of 8.3, replaced by
LargeObjectManager.createLO(int) |
org.postgresql.core.QueryExecutor.createFastpathParameters(int)
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
org.postgresql.largeobject.LargeObjectManager.delete(int)
As of 8.3, replaced by
LargeObjectManager.delete(long) |
org.postgresql.fastpath.Fastpath.fastpath(int, boolean, FastpathArg[])
please use
Fastpath.fastpath(int, FastpathArg[]) |
org.postgresql.fastpath.Fastpath.fastpath(String, boolean, FastpathArg[])
Use
Fastpath.getData(String, FastpathArg[]) if you expect a binary result, or one
of Fastpath.getInteger(String, FastpathArg[]) or
Fastpath.getLong(String, FastpathArg[]) if you expect a numeric one |
org.postgresql.core.QueryExecutor.fastpathCall(int, ParameterList, boolean)
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
org.postgresql.PGConnection.getFastpathAPI()
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
org.postgresql.largeobject.LargeObject.getOID()
As of 8.3, replaced by
LargeObject.getLongOID() |
org.postgresql.PGRefCursorResultSet.getRefCursor()
As of 8.0, replaced with calling getString() on the ResultSet that this ResultSet
was obtained from.
|
org.postgresql.Driver.getVersion()
use
Driver.getMajorVersion() and Driver.getMinorVersion() instead |
org.postgresql.largeobject.LargeObjectManager.open(int)
As of 8.3, replaced by
LargeObjectManager.open(long) |
org.postgresql.largeobject.LargeObjectManager.open(int, int)
As of 8.3, replaced by
LargeObjectManager.open(long, int) |
org.postgresql.core.Utils.parseServerVersionStr(String)
use specific
Version instance |
org.postgresql.PGStatement.setUseServerPrepare(boolean)
As of build 302, replaced by
PGStatement.setPrepareThreshold(int) |
org.postgresql.largeobject.LargeObjectManager.unlink(int)
As of 8.3, replaced by
LargeObjectManager.unlink(long) |
Constructor and Description |
---|
org.postgresql.core.PGStream(SocketFactory, HostSpec) |
Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.