Source compatibility report for the DBCP library between 1.1 and 1.2 versions

Test Info


Library NameDBCP
Version #11.1
Version #21.2

Test Results


Total Java ARchives1
Total Methods / Classes960 / 43
VerdictIncompatible
(21.7%)

Problem Summary


SeverityCount
Added Methods-16
Removed MethodsHigh2
Problems with
Data Types
High6
Medium2
Low0
Problems with
Methods
High0
Medium2
Low0
Other Changes
in Data Types
-1

Added Methods (16)


commons-dbcp-1.2.jar, BasicDataSource.class
package org.apache.commons.dbcp
BasicDataSource.getInitialSize ( )  :  int
BasicDataSource.removeConnectionProperty ( String name )  :  void
BasicDataSource.setInitialSize ( int initialSize )  :  void

commons-dbcp-1.2.jar, BasicDataSourceFactory.class
package org.apache.commons.dbcp
BasicDataSourceFactory.createDataSource ( Properties properties ) [static]  :  DataSource

commons-dbcp-1.2.jar, DelegatingCallableStatement.class
package org.apache.commons.dbcp
DelegatingCallableStatement.setDelegate ( CallableStatement s )  :  void

commons-dbcp-1.2.jar, DelegatingConnection.class
package org.apache.commons.dbcp
DelegatingConnection.handleException ( SQLException e )  :  void

commons-dbcp-1.2.jar, DelegatingResultSet.class
package org.apache.commons.dbcp
DelegatingResultSet.handleException ( SQLException e )  :  void

commons-dbcp-1.2.jar, DelegatingStatement.class
package org.apache.commons.dbcp
DelegatingStatement.handleException ( SQLException e )  :  void
DelegatingStatement.isClosed ( )  :  boolean

commons-dbcp-1.2.jar, PoolableConnectionFactory.class
package org.apache.commons.dbcp
PoolableConnectionFactory.PoolableConnectionFactory ( ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config )

commons-dbcp-1.2.jar, PoolablePreparedStatement.class
package org.apache.commons.dbcp
PoolablePreparedStatement.activate ( )  :  void
PoolablePreparedStatement.passivate ( )  :  void

commons-dbcp-1.2.jar, PoolingDriver.class
package org.apache.commons.dbcp
PoolingDriver.closePool ( String name )  :  void
PoolingDriver.getPoolNames ( )  :  String[ ]
PoolingDriver.isAccessToUnderlyingConnectionAllowed ( ) [static]  :  boolean
PoolingDriver.setAccessToUnderlyingConnectionAllowed ( boolean allow ) [static]  :  void

to the top

Removed Methods (2)


commons-dbcp-1.1.jar, SQLNestedException.class
package org.apache.commons.dbcp
SQLNestedException.getLocalizedMessage ( )  :  String
SQLNestedException.printStackTrace ( )  :  void

to the top

Problems with Data Types, High Severity (6)


commons-dbcp-1.1.jar
package org.apache.commons.dbcp
[+] BasicDataSource (1)
[+] DelegatingCallableStatement (1)
[+] DelegatingPreparedStatement (2)
[+] PoolableConnectionFactory (1)
[+] PoolablePreparedStatement (1)

to the top

Problems with Data Types, Medium Severity (2)


commons-dbcp-1.1.jar
package org.apache.commons.dbcp
[+] DelegatingCallableStatement (1)
[+] DelegatingPreparedStatement (1)

to the top

Problems with Methods, Medium Severity (2)


commons-dbcp-1.1.jar, DelegatingStatement
package org.apache.commons.dbcp
[+] DelegatingStatement.activate ( )  :  void (1)

commons-dbcp-1.1.jar, PoolingConnection
package org.apache.commons.dbcp
[+] PoolingConnection.activateObject ( Object key, Object obj )  :  void (1)

to the top

Other Changes in Data Types (1)


commons-dbcp-1.1.jar
package org.apache.commons.dbcp
[+] BasicDataSource (1)

to the top

Java ARchives (1)


commons-dbcp-1.1.jar

to the top