Binary 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.6%)

Problem Summary


SeverityCount
Added Methods-16
Removed MethodsHigh2
Problems with
Data Types
High6
Medium2
Low124
Problems with
Methods
High0
Medium0
Low51
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 Data Types, Low Severity (124)


commons-dbcp-1.1.jar
package org.apache.commons.dbcp
[+] DelegatingCallableStatement (77)
[+] DelegatingPreparedStatement (44)
[+] PoolablePreparedStatement (3)

to the top

Problems with Methods, Low Severity (51)


commons-dbcp-1.1.jar, BasicDataSource
package org.apache.commons.dbcp
[+] BasicDataSource.close ( )  :  void (1)
[+] BasicDataSource.getDefaultAutoCommit ( )  :  boolean (1)
[+] BasicDataSource.getDefaultCatalog ( )  :  String (1)
[+] BasicDataSource.getDefaultReadOnly ( )  :  boolean (1)
[+] BasicDataSource.getDefaultTransactionIsolation ( )  :  int (1)
[+] BasicDataSource.getDriverClassName ( )  :  String (1)
[+] BasicDataSource.getMaxActive ( )  :  int (1)
[+] BasicDataSource.getMaxIdle ( )  :  int (1)
[+] BasicDataSource.getMaxOpenPreparedStatements ( )  :  int (1)
[+] BasicDataSource.getMaxWait ( )  :  long (1)
[+] BasicDataSource.getMinEvictableIdleTimeMillis ( )  :  long (1)
[+] BasicDataSource.getMinIdle ( )  :  int (1)
[+] BasicDataSource.getNumActive ( )  :  int (1)
[+] BasicDataSource.getNumIdle ( )  :  int (1)
[+] BasicDataSource.getNumTestsPerEvictionRun ( )  :  int (1)
[+] BasicDataSource.getPassword ( )  :  String (1)
[+] BasicDataSource.getTestOnBorrow ( )  :  boolean (1)
[+] BasicDataSource.getTestOnReturn ( )  :  boolean (1)
[+] BasicDataSource.getTestWhileIdle ( )  :  boolean (1)
[+] BasicDataSource.getTimeBetweenEvictionRunsMillis ( )  :  long (1)
[+] BasicDataSource.getUrl ( )  :  String (1)
[+] BasicDataSource.getUsername ( )  :  String (1)
[+] BasicDataSource.getValidationQuery ( )  :  String (1)
[+] BasicDataSource.isAccessToUnderlyingConnectionAllowed ( )  :  boolean (1)
[+] BasicDataSource.isPoolPreparedStatements ( )  :  boolean (1)
[+] BasicDataSource.setAccessToUnderlyingConnectionAllowed ( boolean allow )  :  void (1)
[+] BasicDataSource.setDefaultAutoCommit ( boolean defaultAutoCommit )  :  void (1)
[+] BasicDataSource.setDefaultCatalog ( String defaultCatalog )  :  void (1)
[+] BasicDataSource.setDefaultReadOnly ( boolean defaultReadOnly )  :  void (1)
[+] BasicDataSource.setDefaultTransactionIsolation ( int defaultTransactionIsolation )  :  void (1)
[+] BasicDataSource.setDriverClassName ( String driverClassName )  :  void (1)
[+] BasicDataSource.setMaxActive ( int maxActive )  :  void (1)
[+] BasicDataSource.setMaxIdle ( int maxIdle )  :  void (1)
[+] BasicDataSource.setMaxOpenPreparedStatements ( int maxOpenStatements )  :  void (1)
[+] BasicDataSource.setMaxWait ( long maxWait )  :  void (1)
[+] BasicDataSource.setMinEvictableIdleTimeMillis ( long minEvictableIdleTimeMillis )  :  void (1)
[+] BasicDataSource.setMinIdle ( int minIdle )  :  void (1)
[+] BasicDataSource.setNumTestsPerEvictionRun ( int numTestsPerEvictionRun )  :  void (1)
[+] BasicDataSource.setPassword ( String password )  :  void (1)
[+] BasicDataSource.setPoolPreparedStatements ( boolean poolingStatements )  :  void (1)
[+] BasicDataSource.setTestOnBorrow ( boolean testOnBorrow )  :  void (1)
[+] BasicDataSource.setTestOnReturn ( boolean testOnReturn )  :  void (1)
[+] BasicDataSource.setTestWhileIdle ( boolean testWhileIdle )  :  void (1)
[+] BasicDataSource.setTimeBetweenEvictionRunsMillis ( long timeBetweenEvictionRunsMillis )  :  void (1)
[+] BasicDataSource.setUrl ( String url )  :  void (1)
[+] BasicDataSource.setUsername ( String username )  :  void (1)
[+] BasicDataSource.setValidationQuery ( String validationQuery )  :  void (1)

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

commons-dbcp-1.1.jar, PoolableConnectionFactory
package org.apache.commons.dbcp
[+] PoolableConnectionFactory.validateConnection ( Connection conn )  :  void (1)
[+] PoolableConnectionFactory.validateObject ( Object obj )  :  boolean (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