Binary compatibility report for the DBCP library between 1.0 and 1.1 versions

Test Info


Library NameDBCP
Version #11.0
Version #21.1

Test Results


Total Java ARchives1
Total Methods / Classes865 / 30
VerdictCompatible

Problem Summary


SeverityCount
Added Methods-145
Removed MethodsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Methods
High0
Medium0
Low12
Other Changes
in Data Types
-13

Added Methods (145)


commons-dbcp-1.1.jar, AbandonedObjectPool.class
package org.apache.commons.dbcp
AbandonedObjectPool.invalidateObject ( Object obj )  :  void

commons-dbcp-1.1.jar, BasicDataSource.class
package org.apache.commons.dbcp
BasicDataSource.getDefaultCatalog ( )  :  String
BasicDataSource.getDefaultTransactionIsolation ( )  :  int
BasicDataSource.getMaxOpenPreparedStatements ( )  :  int
BasicDataSource.getMinEvictableIdleTimeMillis ( )  :  long
BasicDataSource.getMinIdle ( )  :  int
BasicDataSource.getNumTestsPerEvictionRun ( )  :  int
BasicDataSource.getTestOnBorrow ( )  :  boolean
BasicDataSource.getTestOnReturn ( )  :  boolean
BasicDataSource.getTestWhileIdle ( )  :  boolean
BasicDataSource.getTimeBetweenEvictionRunsMillis ( )  :  long
BasicDataSource.isAccessToUnderlyingConnectionAllowed ( )  :  boolean
BasicDataSource.isPoolPreparedStatements ( )  :  boolean
BasicDataSource.setAccessToUnderlyingConnectionAllowed ( boolean allow )  :  void
BasicDataSource.setDefaultCatalog ( String defaultCatalog )  :  void
BasicDataSource.setDefaultTransactionIsolation ( int defaultTransactionIsolation )  :  void
BasicDataSource.setMaxOpenPreparedStatements ( int maxOpenStatements )  :  void
BasicDataSource.setMinEvictableIdleTimeMillis ( long minEvictableIdleTimeMillis )  :  void
BasicDataSource.setMinIdle ( int minIdle )  :  void
BasicDataSource.setNumTestsPerEvictionRun ( int numTestsPerEvictionRun )  :  void
BasicDataSource.setPoolPreparedStatements ( boolean poolingStatements )  :  void
BasicDataSource.setTestOnBorrow ( boolean testOnBorrow )  :  void
BasicDataSource.setTestOnReturn ( boolean testOnReturn )  :  void
BasicDataSource.setTestWhileIdle ( boolean testWhileIdle )  :  void
BasicDataSource.setTimeBetweenEvictionRunsMillis ( long timeBetweenEvictionRunsMillis )  :  void

commons-dbcp-1.1.jar, DelegatingCallableStatement.class
package org.apache.commons.dbcp
DelegatingCallableStatement.equals ( Object obj )  :  boolean
DelegatingCallableStatement.getDelegate ( )  :  CallableStatement
DelegatingCallableStatement.getInnermostDelegate ( )  :  CallableStatement
DelegatingCallableStatement.hashCode ( )  :  int

commons-dbcp-1.1.jar, DelegatingConnection.class
package org.apache.commons.dbcp
DelegatingConnection.equals ( Object obj )  :  boolean
DelegatingConnection.hashCode ( )  :  int

commons-dbcp-1.1.jar, DelegatingPreparedStatement.class
package org.apache.commons.dbcp
DelegatingPreparedStatement.equals ( Object obj )  :  boolean
DelegatingPreparedStatement.hashCode ( )  :  int
DelegatingPreparedStatement.isClosed ( )  :  boolean

commons-dbcp-1.1.jar, DelegatingResultSet.class
package org.apache.commons.dbcp
DelegatingResultSet.equals ( Object obj )  :  boolean
DelegatingResultSet.getDelegate ( )  :  ResultSet
DelegatingResultSet.getInnermostDelegate ( )  :  ResultSet
DelegatingResultSet.hashCode ( )  :  int
DelegatingResultSet.wrapResultSet ( Statement stmt, ResultSet rset ) [static]  :  ResultSet

commons-dbcp-1.1.jar, DelegatingStatement.class
package org.apache.commons.dbcp
DelegatingStatement.equals ( Object obj )  :  boolean
DelegatingStatement.hashCode ( )  :  int

commons-dbcp-1.1.jar, InstanceKeyDataSource.class
package org.apache.commons.dbcp.datasources
InstanceKeyDataSource.assertInitializationAllowed ( )  :  void
InstanceKeyDataSource.close ( ) [abstract]  :  void
InstanceKeyDataSource.getConnection ( )  :  Connection
InstanceKeyDataSource.getConnection ( String username, String password )  :  Connection
InstanceKeyDataSource.getConnectionPoolDataSource ( )  :  ConnectionPoolDataSource
InstanceKeyDataSource.getDataSourceName ( )  :  String
InstanceKeyDataSource.getDefaultTransactionIsolation ( )  :  int
InstanceKeyDataSource.getDescription ( )  :  String
InstanceKeyDataSource.getJndiEnvironment ( String key )  :  String
InstanceKeyDataSource.getLoginTimeout ( )  :  int
InstanceKeyDataSource.getLogWriter ( )  :  PrintWriter
InstanceKeyDataSource.getMinEvictableIdleTimeMillis ( )  :  int
InstanceKeyDataSource.getNumTestsPerEvictionRun ( )  :  int
InstanceKeyDataSource.getPooledConnectionAndInfo ( String p1, String p2 ) [abstract]  :  PooledConnectionAndInfo
InstanceKeyDataSource.getReference ( )  :  Reference
InstanceKeyDataSource.getTestOnBorrow ( )  :  boolean
InstanceKeyDataSource.getTestOnReturn ( )  :  boolean
InstanceKeyDataSource.getTestWhileIdle ( )  :  boolean
InstanceKeyDataSource.getTimeBetweenEvictionRunsMillis ( )  :  int
InstanceKeyDataSource.getValidationQuery ( )  :  String
InstanceKeyDataSource.InstanceKeyDataSource ( )
InstanceKeyDataSource.isDefaultAutoCommit ( )  :  boolean
InstanceKeyDataSource.isDefaultReadOnly ( )  :  boolean
InstanceKeyDataSource.isTestOnBorrow ( )  :  boolean
InstanceKeyDataSource.isTestOnReturn ( )  :  boolean
InstanceKeyDataSource.isTestWhileIdle ( )  :  boolean
InstanceKeyDataSource.setConnectionPoolDataSource ( ConnectionPoolDataSource v )  :  void
InstanceKeyDataSource.setDataSourceName ( String v )  :  void
InstanceKeyDataSource.setDefaultAutoCommit ( boolean v )  :  void
InstanceKeyDataSource.setDefaultReadOnly ( boolean v )  :  void
InstanceKeyDataSource.setDefaultTransactionIsolation ( int v )  :  void
InstanceKeyDataSource.setDescription ( String v )  :  void
InstanceKeyDataSource.setJndiEnvironment ( String key, String value )  :  void
InstanceKeyDataSource.setLoginTimeout ( int v )  :  void
InstanceKeyDataSource.setLogWriter ( PrintWriter v )  :  void
InstanceKeyDataSource.setMinEvictableIdleTimeMillis ( int minEvictableIdleTimeMillis )  :  void
InstanceKeyDataSource.setNumTestsPerEvictionRun ( int numTestsPerEvictionRun )  :  void
InstanceKeyDataSource.setTestOnBorrow ( boolean testOnBorrow )  :  void
InstanceKeyDataSource.setTestOnReturn ( boolean testOnReturn )  :  void
InstanceKeyDataSource.setTestWhileIdle ( boolean testWhileIdle )  :  void
InstanceKeyDataSource.setTimeBetweenEvictionRunsMillis ( int timeBetweenEvictionRunsMillis )  :  void
InstanceKeyDataSource.setupDefaults ( Connection p1, String p2 ) [abstract]  :  void
InstanceKeyDataSource.setValidationQuery ( String validationQuery )  :  void
InstanceKeyDataSource.testCPDS ( String username, String password )  :  ConnectionPoolDataSource
InstanceKeyDataSource.whenExhaustedAction ( int maxActive, int maxWait )  :  byte

commons-dbcp-1.1.jar, PerUserPoolDataSource.class
package org.apache.commons.dbcp.datasources
PerUserPoolDataSource.close ( )  :  void
PerUserPoolDataSource.getDefaultMaxActive ( )  :  int
PerUserPoolDataSource.getDefaultMaxIdle ( )  :  int
PerUserPoolDataSource.getDefaultMaxWait ( )  :  int
PerUserPoolDataSource.getNumActive ( )  :  int
PerUserPoolDataSource.getNumActive ( String username, String password )  :  int
PerUserPoolDataSource.getNumIdle ( )  :  int
PerUserPoolDataSource.getNumIdle ( String username, String password )  :  int
PerUserPoolDataSource.getPerUserDefaultAutoCommit ( String key )  :  Boolean
PerUserPoolDataSource.getPerUserDefaultReadOnly ( String username )  :  Boolean
PerUserPoolDataSource.getPerUserDefaultTransactionIsolation ( String username )  :  Integer
PerUserPoolDataSource.getPerUserMaxActive ( String username )  :  Integer
PerUserPoolDataSource.getPerUserMaxIdle ( String username )  :  Integer
PerUserPoolDataSource.getPerUserMaxWait ( String username )  :  Integer
PerUserPoolDataSource.getPooledConnectionAndInfo ( String username, String password )  :  PooledConnectionAndInfo
PerUserPoolDataSource.PerUserPoolDataSource ( )
PerUserPoolDataSource.setDefaultMaxActive ( int maxActive )  :  void
PerUserPoolDataSource.setDefaultMaxIdle ( int defaultMaxIdle )  :  void
PerUserPoolDataSource.setDefaultMaxWait ( int defaultMaxWait )  :  void
PerUserPoolDataSource.setPerUserDefaultAutoCommit ( String username, Boolean value )  :  void
PerUserPoolDataSource.setPerUserDefaultReadOnly ( String username, Boolean value )  :  void
PerUserPoolDataSource.setPerUserDefaultTransactionIsolation ( String username, Integer value )  :  void
PerUserPoolDataSource.setPerUserMaxActive ( String username, Integer value )  :  void
PerUserPoolDataSource.setPerUserMaxIdle ( String username, Integer value )  :  void
PerUserPoolDataSource.setPerUserMaxWait ( String username, Integer value )  :  void
PerUserPoolDataSource.setupDefaults ( Connection con, String username )  :  void

commons-dbcp-1.1.jar, PerUserPoolDataSourceFactory.class
package org.apache.commons.dbcp.datasources
PerUserPoolDataSourceFactory.getNewInstance ( Reference ref )  :  InstanceKeyDataSource
PerUserPoolDataSourceFactory.isCorrectClass ( String className )  :  boolean
PerUserPoolDataSourceFactory.PerUserPoolDataSourceFactory ( )

commons-dbcp-1.1.jar, PoolableConnectionFactory.class
package org.apache.commons.dbcp
PoolableConnectionFactory.PoolableConnectionFactory ( ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation )
PoolableConnectionFactory.PoolableConnectionFactory ( ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, AbandonedConfig config ) *DEPRECATED*
PoolableConnectionFactory.PoolableConnectionFactory ( ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config ) *DEPRECATED*
PoolableConnectionFactory.setDefaultCatalog ( String defaultCatalog )  :  void
PoolableConnectionFactory.setDefaultTransactionIsolation ( int defaultTransactionIsolation )  :  void
PoolableConnectionFactory.validateConnection ( Connection conn )  :  void

commons-dbcp-1.1.jar, PoolingDataSource.class
package org.apache.commons.dbcp
PoolingDataSource.isAccessToUnderlyingConnectionAllowed ( )  :  boolean
PoolingDataSource.setAccessToUnderlyingConnectionAllowed ( boolean allow )  :  void

commons-dbcp-1.1.jar, PoolingDriver.class
package org.apache.commons.dbcp
PoolingDriver.getConnectionPool ( String name )  :  ObjectPool

commons-dbcp-1.1.jar, SharedPoolDataSource.class
package org.apache.commons.dbcp.datasources
SharedPoolDataSource.close ( )  :  void
SharedPoolDataSource.getMaxActive ( )  :  int
SharedPoolDataSource.getMaxIdle ( )  :  int
SharedPoolDataSource.getMaxWait ( )  :  int
SharedPoolDataSource.getNumActive ( )  :  int
SharedPoolDataSource.getNumIdle ( )  :  int
SharedPoolDataSource.getPooledConnectionAndInfo ( String username, String password )  :  PooledConnectionAndInfo
SharedPoolDataSource.setMaxActive ( int maxActive )  :  void
SharedPoolDataSource.setMaxIdle ( int maxIdle )  :  void
SharedPoolDataSource.setMaxWait ( int maxWait )  :  void
SharedPoolDataSource.setupDefaults ( Connection con, String username )  :  void
SharedPoolDataSource.SharedPoolDataSource ( )

commons-dbcp-1.1.jar, SharedPoolDataSourceFactory.class
package org.apache.commons.dbcp.datasources
SharedPoolDataSourceFactory.getNewInstance ( Reference ref )  :  InstanceKeyDataSource
SharedPoolDataSourceFactory.isCorrectClass ( String className )  :  boolean
SharedPoolDataSourceFactory.SharedPoolDataSourceFactory ( )

commons-dbcp-1.1.jar, SQLNestedException.class
package org.apache.commons.dbcp
SQLNestedException.getCause ( )  :  Throwable
SQLNestedException.getLocalizedMessage ( )  :  String
SQLNestedException.printStackTrace ( )  :  void
SQLNestedException.printStackTrace ( PrintStream s )  :  void
SQLNestedException.printStackTrace ( PrintWriter s )  :  void
SQLNestedException.SQLNestedException ( String msg, Throwable cause )

to the top

Problems with Methods, Low Severity (12)


commons-dbcp.jar, AbandonedObjectPool
package org.apache.commons.dbcp
[+] AbandonedObjectPool.borrowObject ( )  :  Object (1)
[+] AbandonedObjectPool.returnObject ( Object obj )  :  void (1)

commons-dbcp.jar, AbandonedTrace
package org.apache.commons.dbcp
[+] AbandonedTrace.addTrace ( AbandonedTrace trace )  :  void (1)
[+] AbandonedTrace.printStackTrace ( )  :  void (1)

commons-dbcp.jar, DataSourceConnectionFactory
package org.apache.commons.dbcp
[+] DataSourceConnectionFactory.createConnection ( )  :  Connection (1)

commons-dbcp.jar, DriverConnectionFactory
package org.apache.commons.dbcp
[+] DriverConnectionFactory.createConnection ( )  :  Connection (1)

commons-dbcp.jar, DriverManagerConnectionFactory
package org.apache.commons.dbcp
[+] DriverManagerConnectionFactory.createConnection ( )  :  Connection (1)

commons-dbcp.jar, PoolableConnection
package org.apache.commons.dbcp
[+] PoolableConnection.close ( )  :  void (1)

commons-dbcp.jar, PoolableConnectionFactory
package org.apache.commons.dbcp
[+] PoolableConnectionFactory.PoolableConnectionFactory ( ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit ) (1)

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

to the top

Other Changes in Data Types (13)


commons-dbcp.jar
package org.apache.commons.dbcp
[+] BasicDataSource (11)
[+] PoolableConnectionFactory (2)

to the top

Java ARchives (1)


commons-dbcp.jar

to the top