Binary compatibility report for the DBCP library between 2.2.0.1 and 2.2.1 versions

Test Info


Library NameDBCP
Version #12.2.0.1
Version #22.2.1

Test Results


Total Java ARchives1
Total Methods / Classes1361 / 59
VerdictCompatible

Problem Summary


SeverityCount
Added Methods-21
Removed MethodsHigh0
Problems with
Data Types
High0
Medium0
Low1
Problems with
Methods
High0
Medium0
Low2
Other Changes
in Data Types
-4

Added Methods (21)


commons-dbcp2-2.1.jar, BasicDataSource.class
package org.apache.commons.dbcp2
BasicDataSource.getDisconnectionSqlCodes ( )  :  Set
BasicDataSource.getDisconnectionSqlCodesAsArray ( )  :  String[ ]
BasicDataSource.getFastFailValidation ( )  :  boolean
BasicDataSource.getLogExpiredConnections ( )  :  boolean
BasicDataSource.invalidateConnection ( Connection connection )  :  void
BasicDataSource.setDisconnectionSqlCodes ( Collection disconnectionSqlCodes )  :  void
BasicDataSource.setFastFailValidation ( boolean fastFailValidation )  :  void
BasicDataSource.setLogExpiredConnections ( boolean logExpiredConnections )  :  void

commons-dbcp2-2.1.jar, BasicDataSourceMXBean.class
package org.apache.commons.dbcp2
BasicDataSourceMXBean.getDisconnectionSqlCodesAsArray ( ) [abstract]  :  String[ ]
BasicDataSourceMXBean.getFastFailValidation ( ) [abstract]  :  boolean
BasicDataSourceMXBean.getLogExpiredConnections ( ) [abstract]  :  boolean

commons-dbcp2-2.1.jar, PoolableConnection.class
package org.apache.commons.dbcp2
PoolableConnection.handleException ( SQLException e )  :  void
PoolableConnection.PoolableConnection ( Connection conn, ObjectPool pool, ObjectName jmxName, Collection disconnectSqlCodes, boolean fastFailValidation )

commons-dbcp2-2.1.jar, PoolableConnectionFactory.class
package org.apache.commons.dbcp2
PoolableConnectionFactory.getConnectionIndex ( )  :  AtomicLong
PoolableConnectionFactory.getDataSourceJmxName ( )  :  ObjectName
PoolableConnectionFactory.getDisconnectionSqlCodes ( )  :  Collection
PoolableConnectionFactory.isFastFailValidation ( )  :  boolean
PoolableConnectionFactory.setDisconnectionSqlCodes ( Collection disconnectionSqlCodes )  :  void
PoolableConnectionFactory.setFastFailValidation ( boolean fastFailValidation )  :  void

commons-dbcp2-2.1.jar, PoolingDataSource.class
package org.apache.commons.dbcp2
PoolingDataSource.close ( )  :  void

commons-dbcp2-2.1.jar, SwallowedExceptionLogger.class
package org.apache.commons.dbcp2
SwallowedExceptionLogger.SwallowedExceptionLogger ( Log log, boolean logExpiredConnections )

to the top

Problems with Data Types, Low Severity (1)


commons-dbcp2-2.0.1.jar
package org.apache.commons.dbcp2
[+] PoolableConnection (1)

to the top

Problems with Methods, Low Severity (2)


commons-dbcp2-2.0.1.jar, BasicDataSource
package org.apache.commons.dbcp2
[+] BasicDataSource.getNumActive ( )  :  int (1)
[+] BasicDataSource.getNumIdle ( )  :  int (1)

to the top

Other Changes in Data Types (4)


commons-dbcp2-2.0.1.jar
package org.apache.commons.dbcp2
[+] BasicDataSourceMXBean (3)

package org.apache.commons.dbcp2.datasources
[+] InstanceKeyDataSource (1)

to the top

Java ARchives (1)


commons-dbcp2-2.0.1.jar

to the top