Binary compatibility report for the log4jdbc library between 1.1 and 1.2 versions
Test Info
Library Name | log4jdbc |
Version #1 | 1.1 |
Version #2 | 1.2 |
Test Results
Total Java ARchives | 1 |
---|
Total Classes | 16 |
---|
Total Methods / Types | 547 / 13 |
---|
Verdict | Incompatible |
---|
Problem Summary
| Severity | Count |
---|
Added Methods | - | 14 |
---|
Removed Methods | High | 4 |
---|
Problems with Data Types | High | 1 |
---|
Medium | 3 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Added Methods (14)
log4jdbc4-1.2.jar, CallableStatementSpy.class
package net.sf.log4jdbc
CallableStatementSpy.getRealCallableStatement ( ):java.sql.CallableStatement
[ run-time name: net/sf/log4jdbc/CallableStatementSpy.getRealCallableStatement:()Ljava/sql/CallableStatement; ]
log4jdbc4-1.2.jar, ConnectionSpy.class
package net.sf.log4jdbc
ConnectionSpy.getConnectionNumber ( ):Integer
[ run-time name: net/sf/log4jdbc/ConnectionSpy.getConnectionNumber:()Ljava/lang/Integer; ]
ConnectionSpy.getOpenConnectionsDump ( ) [static]:String
[ run-time name: net/sf/log4jdbc/ConnectionSpy.getOpenConnectionsDump:()Ljava/lang/String; ]
ConnectionSpy.getRealConnection ( ):java.sql.Connection
[ run-time name: net/sf/log4jdbc/ConnectionSpy.getRealConnection:()Ljava/sql/Connection; ]
log4jdbc4-1.2.jar, PreparedStatementSpy.class
package net.sf.log4jdbc
PreparedStatementSpy.getRealPreparedStatement ( ):java.sql.PreparedStatement
[ run-time name: net/sf/log4jdbc/PreparedStatementSpy.getRealPreparedStatement:()Ljava/sql/PreparedStatement; ]
log4jdbc4-1.2.jar, ResultSetSpy.class
package net.sf.log4jdbc
ResultSetSpy.getConnectionNumber ( ):Integer
[ run-time name: net/sf/log4jdbc/ResultSetSpy.getConnectionNumber:()Ljava/lang/Integer; ]
ResultSetSpy.getRealResultSet ( ):java.sql.ResultSet
[ run-time name: net/sf/log4jdbc/ResultSetSpy.getRealResultSet:()Ljava/sql/ResultSet; ]
log4jdbc4-1.2.jar, Slf4jSpyLogDelegator.class
package net.sf.log4jdbc
Slf4jSpyLogDelegator.connectionClosed ( Spy spy ):void
[ run-time name: net/sf/log4jdbc/Slf4jSpyLogDelegator.connectionClosed:(Lnet/sf/log4jdbc/Spy;)V ]
Slf4jSpyLogDelegator.connectionOpened ( Spy spy ):void
[ run-time name: net/sf/log4jdbc/Slf4jSpyLogDelegator.connectionOpened:(Lnet/sf/log4jdbc/Spy;)V ]
log4jdbc4-1.2.jar, Spy.class
package net.sf.log4jdbc
Spy.getConnectionNumber ( ) [abstract]:Integer
[ run-time name: net/sf/log4jdbc/Spy.getConnectionNumber:()Ljava/lang/Integer; ]
log4jdbc4-1.2.jar, SpyLogDelegator.class
package net.sf.log4jdbc
SpyLogDelegator.connectionClosed ( Spy p1 ) [abstract]:void
[ run-time name: net/sf/log4jdbc/SpyLogDelegator.connectionClosed:(Lnet/sf/log4jdbc/Spy;)V ]
SpyLogDelegator.connectionOpened ( Spy p1 ) [abstract]:void
[ run-time name: net/sf/log4jdbc/SpyLogDelegator.connectionOpened:(Lnet/sf/log4jdbc/Spy;)V ]
log4jdbc4-1.2.jar, StatementSpy.class
package net.sf.log4jdbc
StatementSpy.getConnectionNumber ( ):Integer
[ run-time name: net/sf/log4jdbc/StatementSpy.getConnectionNumber:()Ljava/lang/Integer; ]
StatementSpy.getRealStatement ( ):java.sql.Statement
[ run-time name: net/sf/log4jdbc/StatementSpy.getRealStatement:()Ljava/sql/Statement; ]
to the top
Removed Methods (4)
log4jdbc4-1.1.jar, ConnectionSpy.class
package net.sf.log4jdbc
ConnectionSpy.getConnectionNumber ( ):int
[ run-time name: net/sf/log4jdbc/ConnectionSpy.getConnectionNumber:()I ]
log4jdbc4-1.1.jar, ResultSetSpy.class
package net.sf.log4jdbc
ResultSetSpy.getConnectionNumber ( ):int
[ run-time name: net/sf/log4jdbc/ResultSetSpy.getConnectionNumber:()I ]
log4jdbc4-1.1.jar, Spy.class
package net.sf.log4jdbc
Spy.getConnectionNumber ( ) [abstract]:int
[ run-time name: net/sf/log4jdbc/Spy.getConnectionNumber:()I ]
log4jdbc4-1.1.jar, StatementSpy.class
package net.sf.log4jdbc
StatementSpy.getConnectionNumber ( ):int
[ run-time name: net/sf/log4jdbc/StatementSpy.getConnectionNumber:()I ]
to the top
Problems with Data Types, High Severity (1)
log4jdbc4-1.1.jar
package net.sf.log4jdbc
[+] Spy (1)
| Change | Effect |
---|
Abstract method Spy.getConnectionNumber ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods (11)
Slf4jSpyLogDelegator.constructorReturned ( Spy spy, String constructionInfo )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.exceptionOccured ( Spy spy, String methodCall, Exception e, String sql, long execTime )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.methodReturned ( Spy spy, String methodCall, String returnMsg )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.sqlOccured ( Spy spy, String methodCall, String sql )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.sqlTimingOccured ( Spy spy, long execTime, String methodCall, String sql )1st parameter 'spy' of this method has type 'Spy'.
Spy.getClassType ( )This abstract method is from 'Spy' interface.
SpyLogDelegator.constructorReturned ( Spy p1, String p2 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.exceptionOccured ( Spy p1, String p2, Exception p3, String p4, long p5 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.methodReturned ( Spy p1, String p2, String p3 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.sqlOccured ( Spy p1, String p2, String p3 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.sqlTimingOccured ( Spy p1, long p2, String p3, String p4 )1st parameter 'p1' of this abstract method has type 'Spy'.
to the top
Problems with Data Types, Medium Severity (3)
log4jdbc4-1.1.jar
package net.sf.log4jdbc
[+] Spy (1)
| Change | Effect |
---|
Abstract method Spy.getConnectionNumber ( ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method Slf4jSpyLogDelegator.sqlOccured ( Spy spy, String methodCall, String sql ) and may not be implemented by old clients. |
[+] affected methods (11)
Slf4jSpyLogDelegator.constructorReturned ( Spy spy, String constructionInfo )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.exceptionOccured ( Spy spy, String methodCall, Exception e, String sql, long execTime )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.methodReturned ( Spy spy, String methodCall, String returnMsg )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.sqlOccured ( Spy spy, String methodCall, String sql )1st parameter 'spy' of this method has type 'Spy'.
Slf4jSpyLogDelegator.sqlTimingOccured ( Spy spy, long execTime, String methodCall, String sql )1st parameter 'spy' of this method has type 'Spy'.
Spy.getClassType ( )This abstract method is from 'Spy' interface.
SpyLogDelegator.constructorReturned ( Spy p1, String p2 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.exceptionOccured ( Spy p1, String p2, Exception p3, String p4, long p5 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.methodReturned ( Spy p1, String p2, String p3 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.sqlOccured ( Spy p1, String p2, String p3 )1st parameter 'p1' of this abstract method has type 'Spy'.
SpyLogDelegator.sqlTimingOccured ( Spy p1, long p2, String p3, String p4 )1st parameter 'p1' of this abstract method has type 'Spy'.
[+] SpyLogDelegator (2)
| Change | Effect |
---|
Abstract method SpyLogDelegator.connectionClosed ( Spy p1 ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method ConnectionSpy.close ( ) and may not be implemented by old clients. |
Abstract method SpyLogDelegator.connectionOpened ( Spy p1 ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method ConnectionSpy.ConnectionSpy ( java.sql.Connection realConnection, RdbmsSpecifics rdbmsSpecifics ) and may not be implemented by old clients. |
[+] affected methods (8)
SpyLogDelegator.constructorReturned ( Spy p1, String p2 )This abstract method is from 'SpyLogDelegator' interface.
SpyLogDelegator.debug ( String p1 )This abstract method is from 'SpyLogDelegator' interface.
SpyLogDelegator.exceptionOccured ( Spy p1, String p2, Exception p3, String p4, long p5 )This abstract method is from 'SpyLogDelegator' interface.
SpyLogDelegator.isJdbcLoggingEnabled ( )This abstract method is from 'SpyLogDelegator' interface.
SpyLogDelegator.methodReturned ( Spy p1, String p2, String p3 )This abstract method is from 'SpyLogDelegator' interface.
SpyLogDelegator.sqlOccured ( Spy p1, String p2, String p3 )This abstract method is from 'SpyLogDelegator' interface.
SpyLogDelegator.sqlTimingOccured ( Spy p1, long p2, String p3, String p4 )This abstract method is from 'SpyLogDelegator' interface.
SpyLogFactory.getSpyLogDelegator ( )Return value of this method has type 'SpyLogDelegator'.
to the top
Java ARchives (1)
log4jdbc4-1.1.jar
to the top
Classes (16)
package net.sf.log4jdbc
CallableStatementSpy
ConnectionSpy
DriverSpy
OracleRdbmsSpecifics
PostLogProfilerProcessor
PostLogProfilerProcessor.ProfiledSql
PreparedStatementSpy
RdbmsSpecifics
ResultSetSpy
Slf4jSpyLogDelegator
Spy
SpyLogDelegator
SpyLogFactory
SqlServerRdbmsSpecifics
StatementSpy
Utilities
to the top
Generated on Sat Feb 18 07:36:25 2012 for log4jdbc by Java API Compliance Checker 1.0.3
A tool for checking backward binary/source compatibility of a Java library API