Oracle10g JDBC

Deprecated API

Deprecated Classes
oracle.jdbc.pool.OracleConnectionCacheImpl
          ... Use JDBC Implicit Connection Caching instead 
 

Deprecated Fields
oracle.jdbc.driver.OracleDriver.access_string
          unused 
oracle.jdbc.driver.OracleDriver.batch_string
          use default_execute_batch_string 
oracle.jdbc.driver.OracleDriver.dataSizeBytes
          unused 
oracle.jdbc.driver.OracleDriver.dataSizeChars
          unused 
oracle.jdbc.driver.OracleDriver.dataSizeUnitsPropertyName
          unused 
oracle.jdbc.driver.OracleDriver.execute_batch_string
          use default_execute_batch_string 
oracle.jdbc.driver.OracleDriver.prefetch_string
          use default_row_prefetch_string 
oracle.jdbc.driver.OracleDriver.protocolFullName_string
          unused 
oracle.jdbc.driver.OracleDriver.remarks_string
          use report_remarks_string 
oracle.jdbc.driver.OracleDriver.row_prefetch_string
          use default_row_prefetch_string 
oracle.jdbc.driver.OracleDriver.synonyms_string
          use include_synonyms_string 
oracle.jdbc.OracleTypes.TIMESTAMPNS
          since 9.2.0. Use OracleTypes.TIMESTAMP instead. 
oracle.jdbc.driver.OracleDriver.xa_trans_loose
          unused 
 

Deprecated Methods
oracle.jdbc.OracleConnection.archive(int, int, String)
          This method will be removed in a future version. 
oracle.jdbc.driver.OracleLog.charsToUcs2Bytes(char[], int, int)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.driver.OracleConnection.clearClientIdentifier(String)
            
oracle.jdbc.pool.OracleConnectionCacheImpl.clearWarnings()
          ... Use JDBC Implicit Connection Caching instead.

Clear SQLWarning. Sets SQLWarning to null. 

oracle.jdbc.pool.OracleConnectionCacheImpl.close()
          ... Use JDBC Implicit Connection Caching instead.

Physically close all the pooled connections in the cache and free all the resources.

 

oracle.jdbc.pool.OracleConnectionCacheImpl.closePooledConnection(PooledConnection)
          ... Use JDBC Implicit Connection Caching instead.

Invoked by the ConnectionEventListener when an error occurs on a PooledConnection/LogicalConnection signaling that it is no longer good to be used and can be closed.

 

oracle.jdbc.pool.OracleConnectionCacheImpl.closeSingleConnection(PooledConnection)
          ... Use JDBC Implicit Connection Caching instead. Close and remove a PooledConnection in the cache 
oracle.jdbc.OracleStatement.creationState()
            
oracle.jdbc.driver.OracleLog.enableWarning(boolean)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.pool.OracleConnectionCacheImpl.getActiveSize()
          ... Use JDBC Implicit Connection Caching instead. Return the total no of connections that are being used. 
oracle.sql.CLOB.getAsciiOutputStream()
          This method is deprecated. Use setAsciiStream( 0L ); 
oracle.sql.CLOB.getAsciiOutputStream(long)
          This method is deprecated. Use setAsciiStream. 
oracle.sql.BLOB.getBinaryOutputStream()
          This method is deprecated. Use setBinaryStream(0L). 
oracle.sql.BLOB.getBinaryOutputStream(long)
          This method is deprecated -- use setBinaryStream 
oracle.jdbc.pool.OracleConnectionCacheImpl.getCacheFixedWaitIdleTime()
          ... Use JDBC Implicit Connection Caching instead. Returns the wait time for FIXED_WAIT_SCHEME. Returns -1 if it is not set. 
oracle.jdbc.pool.OracleConnectionCacheImpl.getCacheFixedWaitTimeout()
          ... Use JDBC Implicit Connection Caching instead.

Get the timeout for FIXED_WAIT_SCHEME 

oracle.jdbc.pool.OracleConnectionCacheImpl.getCacheInactivityTimeout()
          ... Use JDBC Implicit Connection Caching instead.

Get the connection cache Inactivity timeout 

oracle.jdbc.pool.OracleConnectionCacheImpl.getCacheScheme()
          ... Use JDBC Implicit Connection Caching instead. Return the Caching Scheme being used. 
oracle.jdbc.pool.OracleConnectionCacheImpl.getCacheSize()
          ... Use JDBC Implicit Connection Caching instead. Return the total no of connections in the Cache. 
oracle.jdbc.pool.OracleConnectionCacheImpl.getCacheTimeToLiveTimeout()
          ... Use JDBC Implicit Connection Caching instead.

Get the connection cache TTL timeout 

oracle.sql.CLOB.getCharacterOutputStream()
          This method is deprecated. Use setCharacterStream( 0L ). 
oracle.sql.CLOB.getCharacterOutputStream(long)
          This method is deprecated. Use setCharacterStream. 
oracle.sql.DatumWithConnection.getConnection()
          since 9.0.0. Use getJavaSqlConnection() or getInternalConnection(), or Use getOracleConnection() instead. 
oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection()
          ... Use JDBC Implicit Connection Caching instead. Attempt to get a logical connection from the Cache. May return null depending upon the Schemes selected. Either a ConnectionPoolDataSource must be Set or url, username, password or Other JNDI attributes should be set on this Cache before you attempt to open Connections. 
oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(String, String)
          ... Use JDBC Implicit Connection Caching instead. Attempt to get a logical connection from the Cache. May return null depending upon the Schemes selected. User and password arguments should match the one given either directly or from ConnectionPoolDataSource. 
oracle.jdbc.OracleResultSet.getCustomDatum(int, CustomDatumFactory)
            
oracle.jdbc.OracleCallableStatement.getCustomDatum(int, CustomDatumFactory)
            
oracle.jdbc.driver.OracleResultSet.getCustomDatum(int, CustomDatumFactory)
            
oracle.jdbc.OracleResultSet.getCustomDatum(String, CustomDatumFactory)
            
oracle.jdbc.driver.OracleResultSet.getCustomDatum(String, CustomDatumFactory)
            
oracle.jdbc.OracleConnection.getJavaObject(String)
            
oracle.jdbc.driver.OracleLog.getLogStream()
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.driver.OracleLog.getLogWriter()
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.pool.OracleConnectionCacheImpl.getMaxLimit()
          ... Use JDBC Implicit Connection Caching instead. Return the Max limit on Connections.

 

oracle.jdbc.pool.OracleConnectionCacheImpl.getMinLimit()
          ... Use JDBC Implicit Connection Caching instead. Return the minimum limit on the no of Connections. 
oracle.jdbc.OracleConnection.getSQLType(Object)
            
oracle.jdbc.OracleConnection.getStmtCacheSize()
          Use getStatementCacheSize() instead. 
oracle.jdbc.pool.OracleConnectionCacheImpl.getStmtCacheSize()
          ... Use JDBC Implicit Connection Caching instead. Return the size of Statement Cache. 
oracle.jdbc.pool.OraclePooledConnection.getStmtCacheSize()
            
oracle.jdbc.driver.OracleLog.getSystemProperty(String, String)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.pool.OracleConnectionCacheImpl.getThreadWakeUpInterval()
          ... Use JDBC Implicit Connection Caching instead.

Get the timeout thread interval 

oracle.jdbc.OracleConnection.getUsingXAFlag()
            
oracle.jdbc.pool.OracleConnectionCacheImpl.getWarnings()
          ... Use JDBC Implicit Connection Caching instead.

Return current SQLWarning 

oracle.jdbc.OracleConnection.getXAErrorFlag()
            
oracle.jdbc.OracleConnection.prepareCallWithKey(String)
          This is same as prepareCall, except if a Callable Statement with the given KEY exists in the Cache, then the statement is returned AS IT IS when it was closed and cached with this KEY. An object returned from the Cache based on Key will have its state set to "KEYED". If no such Callable Statement is found, then null is returned. Key cannot be null. 
oracle.jdbc.OracleConnection.prepareStatementWithKey(String)
          This is same as prepareStatement, except if a Prepared Statement with the given KEY exists in the Cache, then the statement is returned AS IT IS when it was closed and cached with this KEY. An object returned from the Cache based on Key will have its state set to "KEYED". If no such Prepared Statement is found, a null is returned. Key cannot be null. 
oracle.jdbc.driver.OracleLog.print(Object, int, int, String)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.sql.BLOB.putBytes(long, byte[])
          This method is deprecated -- use setBytes 
oracle.sql.BLOB.putBytes(long, byte[], int)
          This method is deprecated -- use setBytes 
oracle.sql.CLOB.putString(long, String)
          This method is deprecated -- use setString. 
oracle.jdbc.OracleConnection.registerSQLType(String, Class)
            
oracle.jdbc.OracleConnection.registerSQLType(String, String)
            
oracle.jdbc.pool.OracleConnectionCacheImpl.reusePooledConnection(PooledConnection)
          ... Use JDBC Implicit Connection Caching instead.

Invoked by the ConnectionEventListener instance when Logical connection handles are closed signaling that the PooledConnection can be recycled into the pool for further use.

 

oracle.jdbc.pool.OracleConnectionCacheImpl.setCacheFixedWaitIdleTime(long)
          ... Use JDBC Implicit Connection Caching instead. Set the Waiting time for the FIXED_WAIT_SCHEME. This is the time in seconds for which the Connection cache would wait before returning with an exception. 
oracle.jdbc.pool.OracleConnectionCacheImpl.setCacheFixedWaitTimeout(long)
          ... Use JDBC Implicit Connection Caching instead.

Set timeout for the FIXED_WAIT_SCHEME 

oracle.jdbc.pool.OracleConnectionCacheImpl.setCacheInactivityTimeout(long)
          ... Use JDBC Implicit Connection Caching instead.

Set the Inactivity timeout for this connection cache 

oracle.jdbc.pool.OracleConnectionCacheImpl.setCacheScheme(int)
          ... Use JDBC Implicit Connection Caching instead. Set the Scheme for this Cache. Possible values are OracleConnectionCacheImpl.DYNAMIC_SCHEME OracleConnectionCacheImpl.FIXED_RETURN_NULL_SCHEME OracleConnectionCacheImpl.FIXED_WAIT_SCHEME 
oracle.jdbc.pool.OracleConnectionCacheImpl.setCacheScheme(String)
          ... Use JDBC Implicit Connection Caching instead. Set the Scheme for this Cache. Possible values are OracleConnectionCacheImpl.DYNAMIC_SCHEME OracleConnectionCacheImpl.FIXED_RETURN_NULL_SCHEME OracleConnectionCacheImpl.FIXED_RETURN_SCHEME 
oracle.jdbc.pool.OracleConnectionCacheImpl.setCacheTimeToLiveTimeout(long)
          ... Use JDBC Implicit Connection Caching instead.

Set the TTL timeout for this connection cache 

oracle.jdbc.driver.OracleConnection.setClientIdentifier(String)
            
oracle.jdbc.pool.OracleConnectionCacheImpl.setConnectionPoolDataSource(ConnectionPoolDataSource)
          ... Use JDBC Implicit Connection Caching instead. Associate a ConnectionPoolDataSource datasource to the Cache. If one already exists and Connections are already opened then an Exception is thrown. If no connections are opened, then the new ConnectionPoolDataSource overwrites the previous one. 
oracle.jdbc.OraclePreparedStatement.setCursor(int, ResultSet)
            
oracle.jdbc.OraclePreparedStatement.setCustomDatum(int, CustomDatum)
            
oracle.jdbc.driver.OraclePreparedStatement.setCustomDatum(int, CustomDatum)
            
oracle.jdbc.driver.OracleLog.setLogStream(PrintStream)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.driver.OracleLog.setLogVolume(int)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.driver.OracleLog.setLogWriter(PrintWriter)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.pool.OracleConnectionCacheImpl.setMaxLimit(int)
          ... Use JDBC Implicit Connection Caching instead. Set the maximum no of connections for the Cache. 
oracle.jdbc.pool.OracleConnectionCacheImpl.setMinLimit(int)
          ... Use JDBC Implicit Connection Caching instead. Set the minimum no of connections for the Cache. 
oracle.jdbc.driver.OracleLog.setPrivateTrace(boolean)
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.OracleConnection.setStmtCacheSize(int)
          Use setStatementCacheSize() instead. 
oracle.jdbc.pool.OracleConnectionCacheImpl.setStmtCacheSize(int)
          ... Use JDBC Implicit Connection Caching instead. Set the statement cache size. Default is 0. You cannot set this for logicalhandles obtained from PooledConnections.

If more than size cursors are already cached than they will be closed. By default the meta data of the cursor will be saved. Only data and the state will be cleared. You need to call this first to enable either type of Statement caching. When both types of Statement caching are enabled, the size is the total number of cursors cached for both the schemes together. 

oracle.jdbc.pool.OraclePooledConnection.setStmtCacheSize(int)
            
oracle.jdbc.OracleConnection.setStmtCacheSize(int, boolean)
          Use setStatementCacheSize() instead. 
oracle.jdbc.pool.OracleConnectionCacheImpl.setStmtCacheSize(int, boolean)
          ... Use JDBC Implicit Connection Caching instead. Set the statement cache size. Default is 0. You cannot set this for logicalhandles obtained from PooledConnections.

If more than size cursors are already cached than they will be closed. By default, the meta data of the cursor will be saved. But if clearMetaData is set to true, even that will be cleared. You need to call this first to enable either type of Statement caching. When both types of Statement caching are enabled, the size is the total number of cursors cached for both the schemes together. 

oracle.jdbc.pool.OraclePooledConnection.setStmtCacheSize(int, boolean)
            
oracle.jdbc.pool.OracleConnectionCacheImpl.setThreadWakeUpInterval(long)
          ... Use JDBC Implicit Connection Caching instead.

Set the interval for connection cache timeout thread 

oracle.jdbc.driver.OraclePreparedStatement.setUnicodeStream(int, InputStream, int)
            
oracle.jdbc.driver.OracleLog.setupFromSystemProperties()
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.OracleConnection.setUsingXAFlag(boolean)
            
oracle.jdbc.OracleConnection.setXAErrorFlag(boolean)
            
oracle.jdbc.OracleConnection.shutdown(int)
          This method will be removed in a future version. 
oracle.jdbc.driver.OracleLog.startLogging()
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.jdbc.OracleConnection.startup(String, int)
          This method will be removed in a future version. 
oracle.jdbc.driver.OracleLog.stopLogging()
          when using jdk 1.4. Use java.util.logging instead. // _end_m4_ifJDK14 
oracle.sql.TIMESTAMPLTZ.toBytes(Connection, Date, Calendar)
            
oracle.sql.TIMESTAMPLTZ.toBytes(Connection, DATE, Calendar)
            
oracle.sql.TIMESTAMPLTZ.toBytes(Connection, Time, Calendar)
            
oracle.sql.TIMESTAMPLTZ.toBytes(Connection, Timestamp, Calendar)
            
oracle.sql.TIMESTAMPLTZ.toString(Connection, byte[], Calendar)
            
oracle.sql.BLOB.trim(long)
          This method id deprecated -- use truncate 
oracle.sql.CLOB.trim(long)
          This method is deprecated. Use truncate(). 
oracle.jdbc.OracleResultSet.updateCustomDatum(int, CustomDatum)
            
oracle.jdbc.driver.OracleResultSet.updateCustomDatum(int, CustomDatum)
            
oracle.jdbc.OracleResultSet.updateCustomDatum(String, CustomDatum)
            
oracle.jdbc.driver.OracleResultSet.updateCustomDatum(String, CustomDatum)
            
 

Deprecated Constructors
oracle.jdbc.pool.OracleConnectionCacheImpl()
          ... Use JDBC Implicit Connection Caching instead.

Default Constructor. Should have an explicit call to set the URL, User, Password and other DataSource details. A ConnectionPoolDataSource is created with these options from which PooledConnections can be created. 

oracle.jdbc.pool.OracleConnectionCacheImpl(ConnectionPoolDataSource)
          ... Use JDBC Implicit Connection Caching instead.

Create an OracleConnectionCacheImpl with the given ConnectionPoolDataSource from which PooledConnections have to created. In which case, url, user name, password, and other DataSource properties set on this Cache are ignored.

 

oracle.sql.RAW(Object)
          in 9.2. The behavior of this constructor when passed a String argument will be changed in the next major release after 9.2. There will be no change in the behavior when passed an argument of any other type. The static methods newRAW and oldRAW capture the new and old behavior. It is deprecated only to warn of the impending change in behavior. The deprecation will be removed in the next major release after 9.2. The constructor will remain and will be supported. See release notes for more info. 
oracle.sql.TIMESTAMPLTZ(Connection, Calendar, String)
            
oracle.sql.TIMESTAMPLTZ(Connection, Date, Calendar)
            
oracle.sql.TIMESTAMPLTZ(Connection, DATE, Calendar)
            
oracle.sql.TIMESTAMPLTZ(Connection, String)
            
oracle.sql.TIMESTAMPLTZ(Connection, String, Calendar)
            
oracle.sql.TIMESTAMPLTZ(Connection, Time, Calendar)
            
oracle.sql.TIMESTAMPLTZ(Connection, Timestamp, Calendar)
            
 


Oracle10g JDBC

Copyright © 1998,2004, Oracle. All rights reserved