This rule flags the use of the deprecated resource adapter methods. These methods were deprecated in different versions of WebSphere as follows:
Deprecated in WebSphere Version 6.0:
-
com.ibm.websphere.rsadapter.WSRdbRecord.getBigDecimal(int, int)
This method was deprecated in WebSphere Application Server Version 6.0 and might be removed in a future release.
Use
getBigDecimal(int parameterIndex)
or
getBigDecimal(String parameterName)
instead.
-
com.ibm.websphere.rsadapter.WSDataSource.getConnection(WSCciConnectionSpec)
.
This method was deprecated in WebSphere Application Server Version 6.0 and is not intended for customer applications.
-
com.ibm.websphere.rsadapter.Reassociateable.supportsImplicitReactivation()
This method was deprecated in WebSphere Application Server Version 6.0 and might be removed in a future release.
Deprecated in WebSphere Version 6.1:
-
com.ibm.websphere.rsadapter.DataStoreHelperMetaData.setDatabaseDefaultIsolationLevel(int)
This method was deprecated in WebSphere Application Server Version 6.1 and might be removed in a future release.
Use
DataStoreHelperMetaData.setDatabaseDefaultIsolationLevel(int, int)
instead.
Deprecated in WebSphere Version 7.0:
-
com.ibm.websphere.rsadapter.WSCallHelper.call(java.lang.Object target, java.lang.String methName, java.lang.Object[] params, java.lang.Class[] types)
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
Use standard Java reflection APIs instead of this method.
-
com.ibm.websphere.rsadapter.WSCallHelper.setConnectionError(java.lang.Object conn)
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
Use
com.ibm.websphere.rsadapter.WSCallHelper.setConnectionError (Object conn, boolean logEvent)
instead.
The new method provides a boolean parameter that allows you to control whether or not connection error events are logged to the system output stream.
-
com.ibm.websphere.rsadapter.WSConnection.getClientInformation()
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
Use JDBC 4.0 client-information APIs instead.
-
com.ibm.websphere.rsadapter.WSConnection.setClientInformation(Properties)
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
Use JDBC 4.0 client-information APIs instead.
-
com.ibm.ws.rsadapter.cci.WSResourceAdapterBase.getNativeConnection (javax.resource.cci.Connection)
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
This method is intended for WebSphere components and not applications.
-
com.ibm.ws.rsadapter.cci.WSResourceAdapterBase.getNativeConnection (com.ibm.ws.rsadapter.jdbc.WSJdbcConnection)
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
This method is intended for WebSphere components and not applications.
-
com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.getNativeConnection (com.ibm.ws.rsadapter.jdbc.WSJdbcConnection)
This method was deprecated in WebSphere Version 7.0 and might be removed in a future release.
This method is intended for WebSphere components and not applications.
For more information, see: