From 3e3d52f0807f94f8dacb333ece4b5099293307e9 Mon Sep 17 00:00:00 2001 From: wenshao Date: Sat, 14 May 2011 09:49:00 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://code.alibabatech.com/svn/druid/trunk@76 b9813039-fb51-4c41-a8b9-e21c2acb5095 --- .../java/com/alibaba/druid/filter/Filter.java | 924 ++++++--------- .../alibaba/druid/filter/FilterAdapter.java | 1037 ++++++----------- .../com/alibaba/druid/filter/FilterChain.java | 593 ++++------ .../alibaba/druid/filter/FilterChainImpl.java | 653 ++++------- .../druid/filter/FilterEventAdapter.java | 245 ++-- .../encoding/EncodingConvertFilter.java | 193 ++- .../druid/filter/logging/LogFilter.java | 28 +- .../alibaba/druid/filter/stat/StatFilter.java | 6 +- .../druid/filter/trace/TraceFilter.java | 417 +++---- .../com/alibaba/druid/mock/MockArray.java | 7 +- .../alibaba/druid/mock/MockConnection.java | 12 +- .../druid/mock/MockPreparedStatement.java | 6 +- .../com/alibaba/druid/mock/MockResultSet.java | 2 +- .../mock/handler/MockExecuteHandler.java | 1 + .../druid/pool/DruidDataAbstractSource.java | 2 +- .../alibaba/druid/pool/DruidDataSource.java | 27 +- .../druid/pool/DruidDataSourceFactory.java | 20 +- .../druid/pool/DruidDataSourceMBean.java | 2 +- .../druid/pool/PoolableConnection.java | 15 +- .../xa/DataSourceXAConnectionFactory.java | 3 +- .../druid/pool/xa/DruidXADataSource.java | 7 +- .../pool/xa/LocalXAConnectionFactory.java | 12 +- .../druid/pool/xa/ManagedConnection.java | 3 +- .../com/alibaba/druid/proxy/DruidDriver.java | 2 +- .../proxy/config/DruidFilterConfigLoader.java | 6 +- .../druid/proxy/jdbc/ConnectionProxyImpl.java | 18 +- .../druid/proxy/jdbc/DataSourceProxyImpl.java | 4 +- .../alibaba/druid/proxy/jdbc/NClobProxy.java | 1 + .../druid/sql/ast/expr/SQLBinaryOperator.java | 14 +- .../sql/ast/expr/SQLNumericLiteralExpr.java | 2 +- .../sql/ast/statement/SQLJoinTableSource.java | 3 +- .../mysql/ast/expr/MySqlMatchAgainstExpr.java | 3 +- .../dialect/mysql/parser/MySqlExprParser.java | 3 +- .../mysql/visitor/MySqlOutputVisitor.java | 3 +- .../oracle/ast/expr/OracleTimestampExpr.java | 3 +- .../ast/visitor/OracleOutputVisitor.java | 3 +- .../oracle/parser/OracleExprParser.java | 9 +- .../com/alibaba/druid/sql/parser/Token.java | 31 +- .../druid/stat/JdbcConnectionStat.java | 16 +- .../druid/stat/JdbcDataSourceStat.java | 3 +- .../com/alibaba/druid/stat/JdbcSqlStat.java | 16 +- .../alibaba/druid/util/DruidLoaderUtils.java | 3 +- .../java/com/alibaba/druid/util/JMXUtils.java | 6 +- .../com/alibaba/druid/TestReplaceLicense.java | 3 +- .../druid/benckmark/BenchmarkExecutor.java | 8 +- .../benckmark/sqlcase/SelectEmptyTable.java | 3 +- .../druid/bvt/mock/MockExecuteTest.java | 23 +- .../bvt/mock/MockResultSetMetaDataTest.java | 1 + .../bvt/pool/DruidDataSourceFilterTest.java | 6 +- .../druid/bvt/pool/SpringFilterTest.java | 12 +- .../druid/bvt/proxy/BasicTypeTest.java | 24 +- .../com/alibaba/druid/bvt/proxy/BlobTest.java | 3 +- .../druid/bvt/proxy/CallStatementTest.java | 34 +- .../com/alibaba/druid/bvt/proxy/ClobTest.java | 3 +- .../druid/bvt/proxy/DruidDriverTest.java | 9 +- .../bvt/proxy/JdbcFilterEventAdapterTest.java | 63 +- .../alibaba/druid/bvt/proxy/PrecallTest.java | 7 +- .../bvt/proxy/PreparedStatementTest.java | 16 +- .../druid/bvt/proxy/StatementTest.java | 15 +- .../proxy/config/DruidConfigLoaderTest.java | 3 +- .../druid/bvt/proxy/filter/ClobTest.java | 2 +- .../bvt/proxy/utils/DruidLoaderUtilsTest.java | 9 +- .../alibaba/druid/pool/benckmark/Case0.java | 3 +- .../alibaba/druid/pool/benckmark/Case1.java | 3 +- .../bvt/CastFunctionsAndOperatorsTest.java | 3 +- .../mysql/bvt/DateAndTimeFunctionsTest.java | 3 +- ...ullTextSearchesWithQueryExpansionTest.java | 3 +- .../druid/sql/mysql/bvt/InsertSyntaxTest.java | 3 +- 68 files changed, 1697 insertions(+), 2929 deletions(-) diff --git a/src/main/java/com/alibaba/druid/filter/Filter.java b/src/main/java/com/alibaba/druid/filter/Filter.java index 9e9e53f8ce..351d7570dc 100644 --- a/src/main/java/com/alibaba/druid/filter/Filter.java +++ b/src/main/java/com/alibaba/druid/filter/Filter.java @@ -25,6 +25,7 @@ import java.sql.Blob; import java.sql.Clob; import java.sql.Connection; import java.sql.DatabaseMetaData; +import java.sql.Date; import java.sql.NClob; import java.sql.ParameterMetaData; import java.sql.Ref; @@ -37,6 +38,8 @@ import java.sql.SQLXML; import java.sql.Savepoint; import java.sql.Statement; import java.sql.Struct; +import java.sql.Time; +import java.sql.Timestamp; import java.sql.Wrapper; import java.util.Calendar; import java.util.Properties; @@ -61,16 +64,13 @@ public interface Filter { StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection) throws SQLException; - PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException; + PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException; - CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException; + CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException; String connection_nativeSQL(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException; - void connection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit) - throws SQLException; + void connection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit) throws SQLException; boolean connection_getAutoCommit(FilterChain chain, ConnectionProxy connection) throws SQLException; @@ -92,8 +92,7 @@ public interface Filter { String connection_getCatalog(FilterChain chain, ConnectionProxy connection) throws SQLException; - void connection_setTransactionIsolation(FilterChain chain, ConnectionProxy connection, int level) - throws SQLException; + void connection_setTransactionIsolation(FilterChain chain, ConnectionProxy connection, int level) throws SQLException; int connection_getTransactionIsolation(FilterChain chain, ConnectionProxy connection) throws SQLException; @@ -101,20 +100,17 @@ public interface Filter { void connection_clearWarnings(FilterChain chain, ConnectionProxy connection) throws SQLException; - StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency) throws SQLException; + StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency) throws SQLException; - PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) throws SQLException; + PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException; - CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) throws SQLException; + CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException; - java.util.Map> connection_getTypeMap(FilterChain chain, ConnectionProxy connection) - throws SQLException; + java.util.Map> connection_getTypeMap(FilterChain chain, ConnectionProxy connection) throws SQLException; - void connection_setTypeMap(FilterChain chain, ConnectionProxy connection, java.util.Map> map) - throws SQLException; + void connection_setTypeMap(FilterChain chain, ConnectionProxy connection, java.util.Map> map) throws SQLException; void connection_setHoldability(FilterChain chain, ConnectionProxy connection, int holdability) throws SQLException; @@ -126,28 +122,22 @@ public interface Filter { void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) throws SQLException; - void connection_releaseSavepoint(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) - throws SQLException; + void connection_releaseSavepoint(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) throws SQLException; - StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) throws SQLException; + StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException; - PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, + PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException; - CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, int resultSetHoldability) - throws SQLException; + CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException; - PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, - int autoGeneratedKeys) throws SQLException; + PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int autoGeneratedKeys) throws SQLException; - PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, - int columnIndexes[]) throws SQLException; + PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int columnIndexes[]) throws SQLException; - PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, - String columnNames[]) throws SQLException; + PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, String columnNames[]) throws SQLException; Clob connection_createClob(FilterChain chain, ConnectionProxy connection) throws SQLException; @@ -159,21 +149,17 @@ public interface Filter { boolean connection_isValid(FilterChain chain, ConnectionProxy connection, int timeout) throws SQLException; - void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, String name, String value) - throws SQLClientInfoException; + void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, String name, String value) throws SQLClientInfoException; - void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, Properties properties) - throws SQLClientInfoException; + void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, Properties properties) throws SQLClientInfoException; String connection_getClientInfo(FilterChain chain, ConnectionProxy connection, String name) throws SQLException; Properties connection_getClientInfo(FilterChain chain, ConnectionProxy connection) throws SQLException; - Array connection_createArrayOf(FilterChain chain, ConnectionProxy connection, String typeName, Object[] elements) - throws SQLException; + Array connection_createArrayOf(FilterChain chain, ConnectionProxy connection, String typeName, Object[] elements) throws SQLException; - Struct connection_createStruct(FilterChain chain, ConnectionProxy connection, String typeName, Object[] attributes) - throws SQLException; + Struct connection_createStruct(FilterChain chain, ConnectionProxy connection, String typeName, Object[] attributes) throws SQLException; // /////////////// boolean resultSet_next(FilterChain chain, ResultSetProxy resultSet) throws SQLException; @@ -198,26 +184,21 @@ public interface Filter { double resultSet_getDouble(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, int columnIndex, int scale) - throws SQLException; + BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, int columnIndex, int scale) throws SQLException; byte[] resultSet_getBytes(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; + Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; + Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; String resultSet_getString(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; @@ -235,28 +216,21 @@ public interface Filter { double resultSet_getDouble(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, String columnLabel, int scale) - throws SQLException; + BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, String columnLabel, int scale) throws SQLException; byte[] resultSet_getBytes(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; SQLWarning resultSet_getWarnings(FilterChain chain, ResultSetProxy resultSet) throws SQLException; @@ -272,17 +246,13 @@ public interface Filter { int resultSet_findColumn(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; boolean resultSet_isBeforeFirst(FilterChain chain, ResultSetProxy resultSet) throws SQLException; @@ -328,112 +298,80 @@ public interface Filter { void resultSet_updateNull(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - void resultSet_updateBoolean(FilterChain chain, ResultSetProxy resultSet, int columnIndex, boolean x) - throws SQLException; + void resultSet_updateBoolean(FilterChain chain, ResultSetProxy resultSet, int columnIndex, boolean x) throws SQLException; void resultSet_updateByte(FilterChain chain, ResultSetProxy resultSet, int columnIndex, byte x) throws SQLException; - void resultSet_updateShort(FilterChain chain, ResultSetProxy resultSet, int columnIndex, short x) - throws SQLException; + void resultSet_updateShort(FilterChain chain, ResultSetProxy resultSet, int columnIndex, short x) throws SQLException; void resultSet_updateInt(FilterChain chain, ResultSetProxy resultSet, int columnIndex, int x) throws SQLException; void resultSet_updateLong(FilterChain chain, ResultSetProxy resultSet, int columnIndex, long x) throws SQLException; - void resultSet_updateFloat(FilterChain chain, ResultSetProxy resultSet, int columnIndex, float x) - throws SQLException; + void resultSet_updateFloat(FilterChain chain, ResultSetProxy resultSet, int columnIndex, float x) throws SQLException; - void resultSet_updateDouble(FilterChain chain, ResultSetProxy resultSet, int columnIndex, double x) - throws SQLException; + void resultSet_updateDouble(FilterChain chain, ResultSetProxy resultSet, int columnIndex, double x) throws SQLException; - void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy resultSet, int columnIndex, BigDecimal x) - throws SQLException; + void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy resultSet, int columnIndex, BigDecimal x) throws SQLException; - void resultSet_updateString(FilterChain chain, ResultSetProxy resultSet, int columnIndex, String x) - throws SQLException; + void resultSet_updateString(FilterChain chain, ResultSetProxy resultSet, int columnIndex, String x) throws SQLException; - void resultSet_updateBytes(FilterChain chain, ResultSetProxy resultSet, int columnIndex, byte x[]) - throws SQLException; + void resultSet_updateBytes(FilterChain chain, ResultSetProxy resultSet, int columnIndex, byte x[]) throws SQLException; - void resultSet_updateDate(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Date x) - throws SQLException; + void resultSet_updateDate(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Date x) throws SQLException; - void resultSet_updateTime(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Time x) - throws SQLException; + void resultSet_updateTime(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Time x) throws SQLException; - void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) - throws SQLException; + void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) throws SQLException; - void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.InputStream x, int length) throws SQLException; + void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) throws SQLException; - void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.InputStream x, int length) throws SQLException; + void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) throws SQLException; - void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.Reader x, int length) throws SQLException; + void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) throws SQLException; - void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Object x, - int scaleOrLength) throws SQLException; + void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) throws SQLException; - void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Object x) - throws SQLException; + void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Object x) throws SQLException; void resultSet_updateNull(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - void resultSet_updateBoolean(FilterChain chain, ResultSetProxy resultSet, String columnLabel, boolean x) - throws SQLException; + void resultSet_updateBoolean(FilterChain chain, ResultSetProxy resultSet, String columnLabel, boolean x) throws SQLException; - void resultSet_updateByte(FilterChain chain, ResultSetProxy resultSet, String columnLabel, byte x) - throws SQLException; + void resultSet_updateByte(FilterChain chain, ResultSetProxy resultSet, String columnLabel, byte x) throws SQLException; - void resultSet_updateShort(FilterChain chain, ResultSetProxy resultSet, String columnLabel, short x) - throws SQLException; + void resultSet_updateShort(FilterChain chain, ResultSetProxy resultSet, String columnLabel, short x) throws SQLException; - void resultSet_updateInt(FilterChain chain, ResultSetProxy resultSet, String columnLabel, int x) - throws SQLException; + void resultSet_updateInt(FilterChain chain, ResultSetProxy resultSet, String columnLabel, int x) throws SQLException; - void resultSet_updateLong(FilterChain chain, ResultSetProxy resultSet, String columnLabel, long x) - throws SQLException; + void resultSet_updateLong(FilterChain chain, ResultSetProxy resultSet, String columnLabel, long x) throws SQLException; - void resultSet_updateFloat(FilterChain chain, ResultSetProxy resultSet, String columnLabel, float x) - throws SQLException; + void resultSet_updateFloat(FilterChain chain, ResultSetProxy resultSet, String columnLabel, float x) throws SQLException; - void resultSet_updateDouble(FilterChain chain, ResultSetProxy resultSet, String columnLabel, double x) - throws SQLException; + void resultSet_updateDouble(FilterChain chain, ResultSetProxy resultSet, String columnLabel, double x) throws SQLException; - void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy resultSet, String columnLabel, BigDecimal x) - throws SQLException; + void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy resultSet, String columnLabel, BigDecimal x) throws SQLException; - void resultSet_updateString(FilterChain chain, ResultSetProxy resultSet, String columnLabel, String x) - throws SQLException; + void resultSet_updateString(FilterChain chain, ResultSetProxy resultSet, String columnLabel, String x) throws SQLException; - void resultSet_updateBytes(FilterChain chain, ResultSetProxy resultSet, String columnLabel, byte x[]) - throws SQLException; + void resultSet_updateBytes(FilterChain chain, ResultSetProxy resultSet, String columnLabel, byte x[]) throws SQLException; - void resultSet_updateDate(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Date x) - throws SQLException; + void resultSet_updateDate(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Date x) throws SQLException; - void resultSet_updateTime(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Time x) - throws SQLException; + void resultSet_updateTime(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Time x) throws SQLException; - void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) - throws SQLException; + void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) throws SQLException; - void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.InputStream x, int length) throws SQLException; + void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) throws SQLException; - void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.InputStream x, int length) throws SQLException; + void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) throws SQLException; - void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.Reader reader, int length) throws SQLException; + void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, int length) + throws SQLException; - void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Object x, - int scaleOrLength) throws SQLException; + void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) throws SQLException; - void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Object x) - throws SQLException; + void resultSet_updateObject(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Object x) throws SQLException; void resultSet_insertRow(FilterChain chain, ResultSetProxy resultSet) throws SQLException; @@ -451,8 +389,7 @@ public interface Filter { Statement resultSet_getStatement(FilterChain chain, ResultSetProxy resultSet) throws SQLException; - Object resultSet_getObject(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.util.Map> map) throws SQLException; + Object resultSet_getObject(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.util.Map> map) throws SQLException; Ref resultSet_getRef(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -462,8 +399,7 @@ public interface Filter { Array resultSet_getArray(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - Object resultSet_getObject(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.util.Map> map) throws SQLException; + Object resultSet_getObject(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.util.Map> map) throws SQLException; Ref resultSet_getRef(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; @@ -473,77 +409,57 @@ public interface Filter { Array resultSet_getArray(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Calendar cal) - throws SQLException; + java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; - java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Calendar cal) - throws SQLException; + java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; - java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Calendar cal) - throws SQLException; + java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - Calendar cal) throws SQLException; + java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; java.net.URL resultSet_getURL(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; java.net.URL resultSet_getURL(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - void resultSet_updateRef(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Ref x) - throws SQLException; + void resultSet_updateRef(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Ref x) throws SQLException; - void resultSet_updateRef(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Ref x) - throws SQLException; + void resultSet_updateRef(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Ref x) throws SQLException; - void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Blob x) - throws SQLException; + void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Blob x) throws SQLException; - void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Blob x) - throws SQLException; + void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Blob x) throws SQLException; - void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Clob x) - throws SQLException; + void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Clob x) throws SQLException; - void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Clob x) - throws SQLException; + void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Clob x) throws SQLException; - void resultSet_updateArray(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Array x) - throws SQLException; + void resultSet_updateArray(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.sql.Array x) throws SQLException; - void resultSet_updateArray(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Array x) - throws SQLException; + void resultSet_updateArray(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.sql.Array x) throws SQLException; RowId resultSet_getRowId(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; RowId resultSet_getRowId(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - void resultSet_updateRowId(FilterChain chain, ResultSetProxy resultSet, int columnIndex, RowId x) - throws SQLException; + void resultSet_updateRowId(FilterChain chain, ResultSetProxy resultSet, int columnIndex, RowId x) throws SQLException; - void resultSet_updateRowId(FilterChain chain, ResultSetProxy resultSet, String columnLabel, RowId x) - throws SQLException; + void resultSet_updateRowId(FilterChain chain, ResultSetProxy resultSet, String columnLabel, RowId x) throws SQLException; int resultSet_getHoldability(FilterChain chain, ResultSetProxy resultSet) throws SQLException; boolean resultSet_isClosed(FilterChain chain, ResultSetProxy resultSet) throws SQLException; - void resultSet_updateNString(FilterChain chain, ResultSetProxy resultSet, int columnIndex, String nString) - throws SQLException; + void resultSet_updateNString(FilterChain chain, ResultSetProxy resultSet, int columnIndex, String nString) throws SQLException; - void resultSet_updateNString(FilterChain chain, ResultSetProxy resultSet, String columnLabel, String nString) - throws SQLException; + void resultSet_updateNString(FilterChain chain, ResultSetProxy resultSet, String columnLabel, String nString) throws SQLException; - void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, NClob nClob) - throws SQLException; + void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, NClob nClob) throws SQLException; - void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, NClob nClob) - throws SQLException; + void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, NClob nClob) throws SQLException; NClob resultSet_getNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -553,105 +469,74 @@ public interface Filter { SQLXML resultSet_getSQLXML(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy resultSet, int columnIndex, SQLXML xmlObject) - throws SQLException; + void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy resultSet, int columnIndex, SQLXML xmlObject) throws SQLException; - void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) - throws SQLException; + void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) throws SQLException; String resultSet_getNString(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; String resultSet_getNString(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) - throws SQLException; + java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex) throws SQLException; - java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel) throws SQLException; - void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.Reader x, long length) throws SQLException; + void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) throws SQLException; - void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.Reader reader, long length) throws SQLException; + void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, long length) + throws SQLException; - void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.InputStream x, long length) throws SQLException; + void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException; - void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.InputStream x, long length) throws SQLException; + void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException; - void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.Reader x, long length) throws SQLException; + void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) throws SQLException; - void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.InputStream x, long length) throws SQLException; + void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) throws SQLException; - void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.InputStream x, long length) throws SQLException; + void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) throws SQLException; - void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.Reader reader, long length) throws SQLException; + void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException; - void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, InputStream inputStream, - long length) throws SQLException; + void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) throws SQLException; - void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, InputStream inputStream, - long length) throws SQLException; + void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) throws SQLException; - void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException; + void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader, long length) throws SQLException; - void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader, - long length) throws SQLException; + void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException; - void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException; + void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader, long length) throws SQLException; - void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader, - long length) throws SQLException; + void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException; - void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException; + void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x) throws SQLException; - void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.Reader reader) throws SQLException; + void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) throws SQLException; - void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException; + void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) throws SQLException; - void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, - java.io.InputStream x) throws SQLException; + void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) throws SQLException; - void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException; + void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, int columnIndex, java.io.Reader x) throws SQLException; - void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.InputStream x) throws SQLException; + void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) throws SQLException; - void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.InputStream x) throws SQLException; + void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) throws SQLException; - void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, - java.io.Reader reader) throws SQLException; + void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) throws SQLException; - void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, InputStream inputStream) - throws SQLException; + void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, InputStream inputStream) throws SQLException; - void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, InputStream inputStream) - throws SQLException; + void resultSet_updateBlob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, InputStream inputStream) throws SQLException; - void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader) - throws SQLException; + void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; - void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader) - throws SQLException; + void resultSet_updateClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader) throws SQLException; - void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader) - throws SQLException; + void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; - void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader) - throws SQLException; + void resultSet_updateNClob(FilterChain chain, ResultSetProxy resultSet, String columnLabel, Reader reader) throws SQLException; // / statement @@ -715,23 +600,17 @@ public interface Filter { ResultSetProxy statement_getGeneratedKeys(FilterChain chain, StatementProxy statement) throws SQLException; - int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException; + int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException; - int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException; + int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException; - int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException; + int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException; - boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException; + boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException; - boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException; + boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException; - boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException; + boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException; int statement_getResultSetHoldability(FilterChain chain, StatementProxy statement) throws SQLException; @@ -743,502 +622,374 @@ public interface Filter { // /// - ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) - throws SQLException; + ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) throws SQLException; int preparedStatement_executeUpdate(FilterChain chain, PreparedStatementProxy statement) throws SQLException; - void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType) - throws SQLException; + void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType) throws SQLException; - void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, boolean x) - throws SQLException; + void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, boolean x) throws SQLException; - void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x) - throws SQLException; + void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException; - void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, short x) - throws SQLException; + void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException; - void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException; + void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException; - void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, long x) - throws SQLException; + void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException; - void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, float x) - throws SQLException; + void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException; - void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, double x) - throws SQLException; + void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, double x) throws SQLException; - void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - BigDecimal x) throws SQLException; + void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException; - void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) - throws SQLException; + void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException; - void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x[]) - throws SQLException; + void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x[]) throws SQLException; - void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Date x) throws SQLException; + void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) throws SQLException; - void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Time x) throws SQLException; + void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) throws SQLException; - void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x) throws SQLException; + void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x) throws SQLException; - void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException; - void preparedStatement_setUnicodeStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + void preparedStatement_setUnicodeStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException; - void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException; void preparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) throws SQLException; - void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType) throws SQLException; + void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) throws SQLException; - void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x) - throws SQLException; + void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException; boolean preparedStatement_execute(FilterChain chain, PreparedStatementProxy statement) throws SQLException; void preparedStatement_addBatch(FilterChain chain, PreparedStatementProxy statement) throws SQLException; - void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, int length) throws SQLException; + void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, int length) + throws SQLException; - void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException; + void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException; - void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Blob x) - throws SQLException; + void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException; - void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Clob x) - throws SQLException; + void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException; - void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Array x) - throws SQLException; + void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException; - ResultSetMetaData preparedStatement_getMetaData(FilterChain chain, PreparedStatementProxy statement) - throws SQLException; + ResultSetMetaData preparedStatement_getMetaData(FilterChain chain, PreparedStatementProxy statement) throws SQLException; - void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Date x, Calendar cal) throws SQLException; + void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException; - void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Time x, Calendar cal) throws SQLException; + void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException; - void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x, Calendar cal) throws SQLException; + void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x, Calendar cal) + throws SQLException; - void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException; + void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) throws SQLException; - void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.net.URL x) throws SQLException; + void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.net.URL x) throws SQLException; - ParameterMetaData preparedStatement_getParameterMetaData(FilterChain chain, PreparedStatementProxy statement) - throws SQLException; + ParameterMetaData preparedStatement_getParameterMetaData(FilterChain chain, PreparedStatementProxy statement) throws SQLException; - void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, RowId x) - throws SQLException; + void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException; - void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String value) throws SQLException; + void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String value) throws SQLException; - void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader value, long length) throws SQLException; + void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader value, long length) + throws SQLException; - void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, NClob value) - throws SQLException; + void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, NClob value) throws SQLException; - void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader, long length) throws SQLException; + void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) throws SQLException; - void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream, long length) throws SQLException; + void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream inputStream, long length) + throws SQLException; - void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader, long length) throws SQLException; + void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) throws SQLException; - void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - SQLXML xmlObject) throws SQLException; + void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) throws SQLException; - void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType, int scaleOrLength) throws SQLException; + void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, int scaleOrLength) + throws SQLException; - void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException; + void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) + throws SQLException; - void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException; + void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) + throws SQLException; - void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, long length) throws SQLException; + void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, long length) + throws SQLException; - void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException; + void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) throws SQLException; - void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException; + void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) throws SQLException; - void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader) throws SQLException; + void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader) + throws SQLException; - void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader value) throws SQLException; + void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader value) throws SQLException; - void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader) throws SQLException; + void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException; - void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream) throws SQLException; + void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) throws SQLException; - void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader) throws SQLException; + void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException; // /////////////////////////////////// - void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int sqlType) throws SQLException; + void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int sqlType) throws SQLException; - void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int sqlType, int scale) throws SQLException; + void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int sqlType, int scale) + throws SQLException; boolean callableStatement_wasNull(FilterChain chain, CallableStatementProxy statement) throws SQLException; - String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, int parameterIndex, - int scale) throws SQLException; + BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int scale) throws SQLException; - byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException; + java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, - java.util.Map> map) throws SQLException; + Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, java.util.Map> map) + throws SQLException; - Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, int parameterIndex, - Calendar cal) throws SQLException; + java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException; - java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, int parameterIndex, - Calendar cal) throws SQLException; + java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException; - java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, Calendar cal) throws SQLException; + java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Calendar cal) + throws SQLException; - void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int sqlType, String typeName) throws SQLException; + void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int sqlType, String typeName) + throws SQLException; - void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - String parameterName, int sqlType) throws SQLException; + void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException; - void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - String parameterName, int sqlType, int scale) throws SQLException; + void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType, int scale) + throws SQLException; - void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - String parameterName, int sqlType, String typeName) throws SQLException; + void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType, String typeName) + throws SQLException; - java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - void callableStatement_setURL(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.net.URL val) throws SQLException; + void callableStatement_setURL(FilterChain chain, CallableStatementProxy statement, String parameterName, java.net.URL val) throws SQLException; - void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, - int sqlType) throws SQLException; + void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException; - void callableStatement_setBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName, - boolean x) throws SQLException; + void callableStatement_setBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName, boolean x) throws SQLException; - void callableStatement_setByte(FilterChain chain, CallableStatementProxy statement, String parameterName, byte x) - throws SQLException; + void callableStatement_setByte(FilterChain chain, CallableStatementProxy statement, String parameterName, byte x) throws SQLException; - void callableStatement_setShort(FilterChain chain, CallableStatementProxy statement, String parameterName, short x) - throws SQLException; + void callableStatement_setShort(FilterChain chain, CallableStatementProxy statement, String parameterName, short x) throws SQLException; - void callableStatement_setInt(FilterChain chain, CallableStatementProxy statement, String parameterName, int x) - throws SQLException; + void callableStatement_setInt(FilterChain chain, CallableStatementProxy statement, String parameterName, int x) throws SQLException; - void callableStatement_setLong(FilterChain chain, CallableStatementProxy statement, String parameterName, long x) - throws SQLException; + void callableStatement_setLong(FilterChain chain, CallableStatementProxy statement, String parameterName, long x) throws SQLException; - void callableStatement_setFloat(FilterChain chain, CallableStatementProxy statement, String parameterName, float x) - throws SQLException; + void callableStatement_setFloat(FilterChain chain, CallableStatementProxy statement, String parameterName, float x) throws SQLException; - void callableStatement_setDouble(FilterChain chain, CallableStatementProxy statement, String parameterName, double x) - throws SQLException; + void callableStatement_setDouble(FilterChain chain, CallableStatementProxy statement, String parameterName, double x) throws SQLException; - void callableStatement_setBigDecimal(FilterChain chain, CallableStatementProxy statement, String parameterName, - BigDecimal x) throws SQLException; + void callableStatement_setBigDecimal(FilterChain chain, CallableStatementProxy statement, String parameterName, BigDecimal x) throws SQLException; - void callableStatement_setString(FilterChain chain, CallableStatementProxy statement, String parameterName, String x) - throws SQLException; + void callableStatement_setString(FilterChain chain, CallableStatementProxy statement, String parameterName, String x) throws SQLException; - void callableStatement_setBytes(FilterChain chain, CallableStatementProxy statement, String parameterName, byte x[]) - throws SQLException; + void callableStatement_setBytes(FilterChain chain, CallableStatementProxy statement, String parameterName, byte x[]) throws SQLException; - void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Date x) throws SQLException; + void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Date x) throws SQLException; - void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Time x) throws SQLException; + void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Time x) throws SQLException; - void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x) throws SQLException; + void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Timestamp x) throws SQLException; - void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException; + void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) + throws SQLException; - void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException; + void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) + throws SQLException; - void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x, int targetSqlType, int scale) throws SQLException; + void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x, int targetSqlType, int scale) + throws SQLException; - void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x, int targetSqlType) throws SQLException; + void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x, int targetSqlType) + throws SQLException; - void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x) - throws SQLException; + void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x) throws SQLException; - void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader, int length) - throws SQLException; + void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader, int length) + throws SQLException; - void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Date x, Calendar cal) throws SQLException; + void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Date x, Calendar cal) + throws SQLException; - void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Time x, Calendar cal) throws SQLException; + void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Time x, Calendar cal) + throws SQLException; - void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x, Calendar cal) throws SQLException; + void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Timestamp x, Calendar cal) + throws SQLException; - void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, - int sqlType, String typeName) throws SQLException; + void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType, String typeName) throws SQLException; - String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException; + java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.util.Map> map) throws SQLException; + Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName, java.util.Map> map) + throws SQLException; - Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, String parameterName, - Calendar cal) throws SQLException; + java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException; - java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, String parameterName, - Calendar cal) throws SQLException; + java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException; - java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - String parameterName, Calendar cal) throws SQLException; + java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, Calendar cal) + throws SQLException; - java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - void callableStatement_setRowId(FilterChain chain, CallableStatementProxy statement, String parameterName, RowId x) - throws SQLException; + void callableStatement_setRowId(FilterChain chain, CallableStatementProxy statement, String parameterName, RowId x) throws SQLException; - void callableStatement_setNString(FilterChain chain, CallableStatementProxy statement, String parameterName, - String value) throws SQLException; + void callableStatement_setNString(FilterChain chain, CallableStatementProxy statement, String parameterName, String value) throws SQLException; - void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, Reader value, long length) throws SQLException; + void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader value, long length) + throws SQLException; - void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - NClob value) throws SQLException; + void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, NClob value) throws SQLException; - void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader, long length) throws SQLException; + void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader, long length) throws SQLException; - void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, - InputStream inputStream, long length) throws SQLException; + void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, InputStream inputStream, long length) + throws SQLException; - void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader, long length) throws SQLException; + void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader, long length) throws SQLException; - NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - void callableStatement_setSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName, - SQLXML xmlObject) throws SQLException; + void callableStatement_setSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName, SQLXML xmlObject) throws SQLException; - SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException; + String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException; + String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException; + java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException; + java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException; + java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException; - java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException; + java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException; - void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, Blob x) - throws SQLException; + void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, Blob x) throws SQLException; - void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Clob x) - throws SQLException; + void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Clob x) throws SQLException; - void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException; + void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException; - void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException; + void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException; - void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader, long length) - throws SQLException; + void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader, long length) + throws SQLException; - void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException; + void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x) throws SQLException; - void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException; + void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x) + throws SQLException; - void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader) throws SQLException; + void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader) + throws SQLException; - void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, Reader value) throws SQLException; + void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader value) throws SQLException; - void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader) throws SQLException; + void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException; - void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, - InputStream inputStream) throws SQLException; + void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, InputStream inputStream) throws SQLException; - void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader) throws SQLException; + void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException; T unwrap(FilterChain chain, Wrapper wrapper, java.lang.Class iface) throws java.sql.SQLException; @@ -1266,8 +1017,7 @@ public interface Filter { int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str) throws SQLException; - int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str, int offset, int len) - throws SQLException; + int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str, int offset, int len) throws SQLException; void clob_truncate(FilterChain chain, ClobProxy wrapper, long len) throws SQLException; diff --git a/src/main/java/com/alibaba/druid/filter/FilterAdapter.java b/src/main/java/com/alibaba/druid/filter/FilterAdapter.java index 9ac8069732..4b6b14ed4b 100644 --- a/src/main/java/com/alibaba/druid/filter/FilterAdapter.java +++ b/src/main/java/com/alibaba/druid/filter/FilterAdapter.java @@ -68,677 +68,587 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getArray(statement, parameterIndex); } @Override - public Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public Array callableStatement_getArray(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getArray(statement, parameterName); } @Override - public BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException { + public BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getBigDecimal(statement, parameterIndex); } @Override - public BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int scale) throws SQLException { + public BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int scale) throws SQLException { return chain.callableStatement_getBigDecimal(statement, parameterIndex, scale); } @Override - public BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public BigDecimal callableStatement_getBigDecimal(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getBigDecimal(statement, parameterName); } @Override - public Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getBlob(statement, parameterIndex); } @Override - public Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public Blob callableStatement_getBlob(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getBlob(statement, parameterName); } @Override - public boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getBoolean(statement, parameterIndex); } @Override - public boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public boolean callableStatement_getBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getBoolean(statement, parameterName); } @Override - public byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getByte(statement, parameterIndex); } @Override - public byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public byte callableStatement_getByte(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getByte(statement, parameterName); } @Override - public byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getBytes(statement, parameterIndex); } @Override - public byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public byte[] callableStatement_getBytes(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getBytes(statement, parameterName); } @Override - public java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException { + public java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getCharacterStream(statement, parameterIndex); } @Override - public java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public java.io.Reader callableStatement_getCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getCharacterStream(statement, parameterName); } @Override - public Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getClob(statement, parameterIndex); } @Override - public Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public Clob callableStatement_getClob(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getClob(statement, parameterName); } @Override - public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException { + public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getDate(statement, parameterIndex); } @Override - public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, Calendar cal) throws SQLException { + public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { return chain.callableStatement_getDate(statement, parameterIndex, cal); } @Override - public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getDate(statement, parameterName); } @Override - public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, - String parameterName, Calendar cal) throws SQLException { + public java.sql.Date callableStatement_getDate(FilterChain chain, CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { return chain.callableStatement_getDate(statement, parameterName, cal); } @Override - public double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getDouble(statement, parameterIndex); } @Override - public double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public double callableStatement_getDouble(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getDouble(statement, parameterName); } @Override - public float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getFloat(statement, parameterIndex); } @Override - public float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public float callableStatement_getFloat(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getFloat(statement, parameterName); } @Override - public int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getInt(statement, parameterIndex); } @Override - public int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public int callableStatement_getInt(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getInt(statement, parameterName); } @Override - public long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getLong(statement, parameterIndex); } @Override - public long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public long callableStatement_getLong(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getLong(statement, parameterName); } @Override - public java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException { + public java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getNCharacterStream(statement, parameterIndex); } @Override - public java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public java.io.Reader callableStatement_getNCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getNCharacterStream(statement, parameterName); } @Override - public NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getNClob(statement, parameterIndex); } @Override - public NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public NClob callableStatement_getNClob(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getNClob(statement, parameterName); } @Override - public String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getNString(statement, parameterIndex); } @Override - public String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public String callableStatement_getNString(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getNString(statement, parameterName); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getObject(statement, parameterIndex); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, - java.util.Map> map) throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, java.util.Map> map) + throws SQLException { return chain.callableStatement_getObject(statement, parameterIndex, map); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getObject(statement, parameterName); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.util.Map> map) - throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName, java.util.Map> map) + throws SQLException { return chain.callableStatement_getObject(statement, parameterName, map); } @Override - public Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getRef(statement, parameterIndex); } @Override - public Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public Ref callableStatement_getRef(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getRef(statement, parameterName); } @Override - public RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getRowId(statement, parameterIndex); } @Override - public RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public RowId callableStatement_getRowId(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getRowId(statement, parameterName); } @Override - public short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getShort(statement, parameterIndex); } @Override - public short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public short callableStatement_getShort(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getShort(statement, parameterName); } @Override - public SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getSQLXML(statement, parameterIndex); } @Override - public SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public SQLXML callableStatement_getSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getSQLXML(statement, parameterName); } @Override - public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getString(statement, parameterIndex); } @Override - public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getString(statement, parameterName); } @Override - public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException { + public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getTime(statement, parameterIndex); } // ////////////////////////////// @Override - public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, Calendar cal) throws SQLException { + public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { return chain.callableStatement_getTime(statement, parameterIndex, cal); } @Override - public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getTime(statement, parameterName); } @Override - public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, - String parameterName, Calendar cal) throws SQLException { + public java.sql.Time callableStatement_getTime(FilterChain chain, CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { return chain.callableStatement_getTime(statement, parameterName, cal); } @Override - public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - int parameterIndex) throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getTimestamp(statement, parameterIndex); } @Override - public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, Calendar cal) throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Calendar cal) + throws SQLException { return chain.callableStatement_getTimestamp(statement, parameterIndex, cal); } @Override - public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getTimestamp(statement, parameterName); } @Override - public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, - String parameterName, Calendar cal) throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, Calendar cal) + throws SQLException { return chain.callableStatement_getTimestamp(statement, parameterName, cal); } @Override - public java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { return chain.callableStatement_getURL(statement, parameterIndex); } @Override - public java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, - String parameterName) throws SQLException { + public java.net.URL callableStatement_getURL(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { return chain.callableStatement_getURL(statement, parameterName); } // /////////////// @Override - public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int sqlType) throws SQLException { + public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int sqlType) + throws SQLException { chain.callableStatement_registerOutParameter(statement, parameterIndex, sqlType); } @Override - public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int sqlType, int scale) throws SQLException { + public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int sqlType, int scale) + throws SQLException { chain.callableStatement_registerOutParameter(statement, parameterIndex, sqlType, scale); } @Override - public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - int parameterIndex, int sqlType, String typeName) - throws SQLException { + public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, int parameterIndex, int sqlType, String typeName) + throws SQLException { chain.callableStatement_registerOutParameter(statement, parameterIndex, sqlType, typeName); } @Override - public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - String parameterName, int sqlType) throws SQLException { + public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType) + throws SQLException { chain.callableStatement_registerOutParameter(statement, parameterName, sqlType); } @Override - public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - String parameterName, int sqlType, int scale) - throws SQLException { + public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType, int scale) + throws SQLException { chain.callableStatement_registerOutParameter(statement, parameterName, sqlType, scale); } @Override - public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, - String parameterName, int sqlType, String typeName) - throws SQLException { + public void callableStatement_registerOutParameter(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType, String typeName) + throws SQLException { chain.callableStatement_registerOutParameter(statement, parameterName, sqlType, typeName); } @Override - public void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.InputStream x) throws SQLException { + public void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x) + throws SQLException { chain.callableStatement_setAsciiStream(statement, parameterName, x); } @Override - public void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.InputStream x, int length) - throws SQLException { + public void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) + throws SQLException { chain.callableStatement_setAsciiStream(statement, parameterName, x, length); } @Override - public void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.InputStream x, long length) - throws SQLException { + public void callableStatement_setAsciiStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException { chain.callableStatement_setAsciiStream(statement, parameterName, x, length); } @Override - public void callableStatement_setBigDecimal(FilterChain chain, CallableStatementProxy statement, - String parameterName, BigDecimal x) throws SQLException { + public void callableStatement_setBigDecimal(FilterChain chain, CallableStatementProxy statement, String parameterName, BigDecimal x) throws SQLException { chain.callableStatement_setBigDecimal(statement, parameterName, x); } @Override - public void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.InputStream x) throws SQLException { + public void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x) + throws SQLException { chain.callableStatement_setBinaryStream(statement, parameterName, x); } @Override - public void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.InputStream x, int length) - throws SQLException { + public void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) + throws SQLException { chain.callableStatement_setBinaryStream(statement, parameterName, x, length); } @Override - public void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.InputStream x, long length) - throws SQLException { + public void callableStatement_setBinaryStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException { chain.callableStatement_setBinaryStream(statement, parameterName, x, length); } @Override - public void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Blob x) throws SQLException { + public void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, Blob x) throws SQLException { chain.callableStatement_setBlob(statement, parameterName, x); } @Override - public void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, - InputStream inputStream) throws SQLException { + public void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, InputStream inputStream) + throws SQLException { chain.callableStatement_setBlob(statement, parameterName, inputStream); } @Override - public void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, - InputStream inputStream, long length) throws SQLException { + public void callableStatement_setBlob(FilterChain chain, CallableStatementProxy statement, String parameterName, InputStream inputStream, long length) + throws SQLException { chain.callableStatement_setBlob(statement, parameterName, inputStream, length); } @Override - public void callableStatement_setBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName, - boolean x) throws SQLException { + public void callableStatement_setBoolean(FilterChain chain, CallableStatementProxy statement, String parameterName, boolean x) throws SQLException { chain.callableStatement_setBoolean(statement, parameterName, x); } @Override - public void callableStatement_setByte(FilterChain chain, CallableStatementProxy statement, String parameterName, - byte x) throws SQLException { + public void callableStatement_setByte(FilterChain chain, CallableStatementProxy statement, String parameterName, byte x) throws SQLException { chain.callableStatement_setByte(statement, parameterName, x); } @Override - public void callableStatement_setBytes(FilterChain chain, CallableStatementProxy statement, String parameterName, - byte x[]) throws SQLException { + public void callableStatement_setBytes(FilterChain chain, CallableStatementProxy statement, String parameterName, byte x[]) throws SQLException { chain.callableStatement_setBytes(statement, parameterName, x); } @Override - public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader) throws SQLException { + public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader) + throws SQLException { chain.callableStatement_setCharacterStream(statement, parameterName, reader); } @Override - public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader, int length) - throws SQLException { + public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader, + int length) throws SQLException { chain.callableStatement_setCharacterStream(statement, parameterName, reader, length); } @Override - public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader, long length) - throws SQLException { + public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader, + long length) throws SQLException { chain.callableStatement_setCharacterStream(statement, parameterName, reader, length); } @Override - public void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Clob x) throws SQLException { + public void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Clob x) throws SQLException { chain.callableStatement_setClob(statement, parameterName, x); } @Override - public void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader) throws SQLException { + public void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException { chain.callableStatement_setClob(statement, parameterName, reader); } @Override - public void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader, long length) throws SQLException { + public void callableStatement_setClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader, long length) + throws SQLException { chain.callableStatement_setClob(statement, parameterName, reader, length); } @Override - public void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Date x) throws SQLException { + public void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Date x) throws SQLException { chain.callableStatement_setDate(statement, parameterName, x); } @Override - public void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Date x, Calendar cal) throws SQLException { + public void callableStatement_setDate(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Date x, Calendar cal) + throws SQLException { chain.callableStatement_setDate(statement, parameterName, x, cal); } @Override - public void callableStatement_setDouble(FilterChain chain, CallableStatementProxy statement, String parameterName, - double x) throws SQLException { + public void callableStatement_setDouble(FilterChain chain, CallableStatementProxy statement, String parameterName, double x) throws SQLException { chain.callableStatement_setDouble(statement, parameterName, x); } @Override - public void callableStatement_setFloat(FilterChain chain, CallableStatementProxy statement, String parameterName, - float x) throws SQLException { + public void callableStatement_setFloat(FilterChain chain, CallableStatementProxy statement, String parameterName, float x) throws SQLException { chain.callableStatement_setFloat(statement, parameterName, x); } @Override - public void callableStatement_setInt(FilterChain chain, CallableStatementProxy statement, String parameterName, - int x) throws SQLException { + public void callableStatement_setInt(FilterChain chain, CallableStatementProxy statement, String parameterName, int x) throws SQLException { chain.callableStatement_setInt(statement, parameterName, x); } @Override - public void callableStatement_setLong(FilterChain chain, CallableStatementProxy statement, String parameterName, - long x) throws SQLException { + public void callableStatement_setLong(FilterChain chain, CallableStatementProxy statement, String parameterName, long x) throws SQLException { chain.callableStatement_setLong(statement, parameterName, x); } @Override - public void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, Reader value) throws SQLException { + public void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader value) + throws SQLException { chain.callableStatement_setNCharacterStream(statement, parameterName, value); } @Override - public void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, Reader value, long length) - throws SQLException { + public void callableStatement_setNCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader value, long length) + throws SQLException { chain.callableStatement_setNCharacterStream(statement, parameterName, value, length); } @Override - public void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - NClob value) throws SQLException { + public void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, NClob value) throws SQLException { chain.callableStatement_setNClob(statement, parameterName, value); } @Override - public void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader) throws SQLException { + public void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException { chain.callableStatement_setNClob(statement, parameterName, reader); } @Override - public void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, - Reader reader, long length) throws SQLException { + public void callableStatement_setNClob(FilterChain chain, CallableStatementProxy statement, String parameterName, Reader reader, long length) + throws SQLException { chain.callableStatement_setNClob(statement, parameterName, reader, length); } @Override - public void callableStatement_setNString(FilterChain chain, CallableStatementProxy statement, String parameterName, - String value) throws SQLException { + public void callableStatement_setNString(FilterChain chain, CallableStatementProxy statement, String parameterName, String value) throws SQLException { chain.callableStatement_setNString(statement, parameterName, value); } @Override - public void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, - int sqlType) throws SQLException { + public void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException { chain.callableStatement_setNull(statement, parameterName, sqlType); } @Override - public void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, - int sqlType, String typeName) throws SQLException { + public void callableStatement_setNull(FilterChain chain, CallableStatementProxy statement, String parameterName, int sqlType, String typeName) + throws SQLException { chain.callableStatement_setNull(statement, parameterName, sqlType, typeName); } @Override - public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x) throws SQLException { + public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x) throws SQLException { chain.callableStatement_setObject(statement, parameterName, x); } @Override - public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x, int targetSqlType) throws SQLException { + public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x, int targetSqlType) + throws SQLException { chain.callableStatement_setObject(statement, parameterName, x, targetSqlType); } @Override - public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x, int targetSqlType, int scale) throws SQLException { + public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x, int targetSqlType, int scale) + throws SQLException { chain.callableStatement_setObject(statement, parameterName, x, targetSqlType, scale); } @Override - public void callableStatement_setRowId(FilterChain chain, CallableStatementProxy statement, String parameterName, - RowId x) throws SQLException { + public void callableStatement_setRowId(FilterChain chain, CallableStatementProxy statement, String parameterName, RowId x) throws SQLException { chain.callableStatement_setRowId(statement, parameterName, x); } @Override - public void callableStatement_setShort(FilterChain chain, CallableStatementProxy statement, String parameterName, - short x) throws SQLException { + public void callableStatement_setShort(FilterChain chain, CallableStatementProxy statement, String parameterName, short x) throws SQLException { chain.callableStatement_setShort(statement, parameterName, x); } @Override - public void callableStatement_setSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName, - SQLXML xmlObject) throws SQLException { + public void callableStatement_setSQLXML(FilterChain chain, CallableStatementProxy statement, String parameterName, SQLXML xmlObject) throws SQLException { chain.callableStatement_setSQLXML(statement, parameterName, xmlObject); } @Override - public void callableStatement_setString(FilterChain chain, CallableStatementProxy statement, String parameterName, - String x) throws SQLException { + public void callableStatement_setString(FilterChain chain, CallableStatementProxy statement, String parameterName, String x) throws SQLException { chain.callableStatement_setString(statement, parameterName, x); } @Override - public void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Time x) throws SQLException { + public void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Time x) throws SQLException { chain.callableStatement_setTime(statement, parameterName, x); } @Override - public void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.sql.Time x, Calendar cal) throws SQLException { + public void callableStatement_setTime(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Time x, Calendar cal) + throws SQLException { chain.callableStatement_setTime(statement, parameterName, x, cal); } @Override - public void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.sql.Timestamp x) throws SQLException { + public void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Timestamp x) + throws SQLException { chain.callableStatement_setTimestamp(statement, parameterName, x); } @Override - public void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.sql.Timestamp x, Calendar cal) - throws SQLException { + public void callableStatement_setTimestamp(FilterChain chain, CallableStatementProxy statement, String parameterName, java.sql.Timestamp x, Calendar cal) + throws SQLException { chain.callableStatement_setTimestamp(statement, parameterName, x, cal); } @Override - public void callableStatement_setURL(FilterChain chain, CallableStatementProxy statement, String parameterName, - java.net.URL val) throws SQLException { + public void callableStatement_setURL(FilterChain chain, CallableStatementProxy statement, String parameterName, java.net.URL val) throws SQLException { chain.callableStatement_setURL(statement, parameterName, val); } @@ -768,8 +678,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Array connection_createArrayOf(FilterChain chain, ConnectionProxy connection, String typeName, - Object[] elements) throws SQLException { + public Array connection_createArrayOf(FilterChain chain, ConnectionProxy connection, String typeName, Object[] elements) throws SQLException { return chain.connection_createArrayOf(connection, typeName, elements); } @@ -799,21 +708,19 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency) throws SQLException { + public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency) + throws SQLException { return chain.connection_createStatement(connection, resultSetType, resultSetType); } @Override - public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException { return chain.connection_createStatement(connection, resultSetType, resultSetType, resultSetHoldability); } @Override - public Struct connection_createStruct(FilterChain chain, ConnectionProxy connection, String typeName, - Object[] attributes) throws SQLException { + public Struct connection_createStruct(FilterChain chain, ConnectionProxy connection, String typeName, Object[] attributes) throws SQLException { return chain.connection_createStruct(connection, typeName, attributes); } @@ -833,8 +740,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public String connection_getClientInfo(FilterChain chain, ConnectionProxy connection, String name) - throws SQLException { + public String connection_getClientInfo(FilterChain chain, ConnectionProxy connection, String name) throws SQLException { return chain.connection_getClientInfo(connection, name); } @@ -854,8 +760,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Map> connection_getTypeMap(FilterChain chain, ConnectionProxy connection) - throws SQLException { + public Map> connection_getTypeMap(FilterChain chain, ConnectionProxy connection) throws SQLException { return chain.connection_getTypeMap(connection); } @@ -885,67 +790,59 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { return chain.connection_prepareCall(connection, sql); } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) - throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException { return chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency); } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { return chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { return chain.connection_prepareStatement(connection, sql); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int autoGeneratedKeys) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int autoGeneratedKeys) + throws SQLException { return chain.connection_prepareStatement(connection, sql, autoGeneratedKeys); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency) throws SQLException { return chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - return chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { + return chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int[] columnIndexes) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int[] columnIndexes) + throws SQLException { return chain.connection_prepareStatement(connection, sql, columnIndexes); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, String[] columnNames) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, String[] columnNames) + throws SQLException { return chain.connection_prepareStatement(connection, sql, columnNames); } @Override - public void connection_releaseSavepoint(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) - throws SQLException { + public void connection_releaseSavepoint(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) throws SQLException { chain.connection_releaseSavepoint(connection, savepoint); } @@ -955,44 +852,37 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) - throws SQLException { + public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) throws SQLException { chain.connection_rollback(connection, savepoint); } @Override - public void connection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit) - throws SQLException { + public void connection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit) throws SQLException { chain.connection_setAutoCommit(connection, autoCommit); } @Override - public void connection_setCatalog(FilterChain chain, ConnectionProxy connection, String catalog) - throws SQLException { + public void connection_setCatalog(FilterChain chain, ConnectionProxy connection, String catalog) throws SQLException { chain.connection_setCatalog(connection, catalog); } @Override - public void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, Properties properties) - throws SQLClientInfoException { + public void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, Properties properties) throws SQLClientInfoException { chain.connection_setClientInfo(connection, properties); } @Override - public void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, String name, String value) - throws SQLClientInfoException { + public void connection_setClientInfo(FilterChain chain, ConnectionProxy connection, String name, String value) throws SQLClientInfoException { chain.connection_setClientInfo(connection, name, value); } @Override - public void connection_setHoldability(FilterChain chain, ConnectionProxy connection, int holdability) - throws SQLException { + public void connection_setHoldability(FilterChain chain, ConnectionProxy connection, int holdability) throws SQLException { chain.connection_setHoldability(connection, holdability); } @Override - public void connection_setReadOnly(FilterChain chain, ConnectionProxy connection, boolean readOnly) - throws SQLException { + public void connection_setReadOnly(FilterChain chain, ConnectionProxy connection, boolean readOnly) throws SQLException { chain.connection_setReadOnly(connection, readOnly); } @@ -1002,20 +892,17 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Savepoint connection_setSavepoint(FilterChain chain, ConnectionProxy connection, String name) - throws SQLException { + public Savepoint connection_setSavepoint(FilterChain chain, ConnectionProxy connection, String name) throws SQLException { return chain.connection_setSavepoint(connection, name); } @Override - public void connection_setTransactionIsolation(FilterChain chain, ConnectionProxy connection, int level) - throws SQLException { + public void connection_setTransactionIsolation(FilterChain chain, ConnectionProxy connection, int level) throws SQLException { chain.connection_setTransactionIsolation(connection, level); } @Override - public void connection_setTypeMap(FilterChain chain, ConnectionProxy connection, Map> map) - throws SQLException { + public void connection_setTypeMap(FilterChain chain, ConnectionProxy connection, Map> map) throws SQLException { chain.connection_setTypeMap(connection, map); } @@ -1030,8 +917,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void preparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public void preparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) throws SQLException { chain.preparedStatement_clearParameters(statement); } @@ -1041,8 +927,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) throws SQLException { return chain.preparedStatement_executeQuery(statement); } @@ -1052,310 +937,274 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public ResultSetMetaData preparedStatement_getMetaData(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public ResultSetMetaData preparedStatement_getMetaData(FilterChain chain, PreparedStatementProxy statement) throws SQLException { return chain.preparedStatement_getMetaData(statement); } @Override - public ParameterMetaData preparedStatement_getParameterMetaData(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public ParameterMetaData preparedStatement_getParameterMetaData(FilterChain chain, PreparedStatementProxy statement) throws SQLException { return chain.preparedStatement_getParameterMetaData(statement); } @Override - public void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Array x) throws SQLException { + public void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException { chain.preparedStatement_setArray(statement, parameterIndex, x); } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x) throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) + throws SQLException { chain.preparedStatement_setAsciiStream(statement, parameterIndex, x); } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, int length) - throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException { chain.preparedStatement_setAsciiStream(statement, parameterIndex, x, length); } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, long length) - throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) + throws SQLException { chain.preparedStatement_setAsciiStream(statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, BigDecimal x) throws SQLException { + public void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException { chain.preparedStatement_setBigDecimal(statement, parameterIndex, x); } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x) throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) + throws SQLException { chain.preparedStatement_setBinaryStream(statement, parameterIndex, x); } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, int length) - throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException { chain.preparedStatement_setBinaryStream(statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, long length) - throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) + throws SQLException { chain.preparedStatement_setBinaryStream(statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Blob x) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException { chain.preparedStatement_setBlob(statement, parameterIndex, x); } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) throws SQLException { chain.preparedStatement_setBlob(statement, parameterIndex, inputStream); } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream, long length) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream inputStream, long length) + throws SQLException { chain.preparedStatement_setBlob(statement, parameterIndex, inputStream, length); } @Override - public void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - boolean x) throws SQLException { + public void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, boolean x) throws SQLException { chain.preparedStatement_setBoolean(statement, parameterIndex, x); } @Override - public void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - byte x) throws SQLException { + public void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException { chain.preparedStatement_setByte(statement, parameterIndex, x); } @Override - public void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - byte x[]) throws SQLException { + public void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x[]) throws SQLException { chain.preparedStatement_setBytes(statement, parameterIndex, x); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader) throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader) + throws SQLException { chain.preparedStatement_setCharacterStream(statement, parameterIndex, reader); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader, int length) - throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, int length) + throws SQLException { chain.preparedStatement_setCharacterStream(statement, parameterIndex, reader, length); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader, long length) - throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, long length) + throws SQLException { chain.preparedStatement_setCharacterStream(statement, parameterIndex, reader, length); } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Clob x) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException { chain.preparedStatement_setClob(statement, parameterIndex, x); } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException { chain.preparedStatement_setClob(statement, parameterIndex, reader); } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader, long length) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) + throws SQLException { chain.preparedStatement_setClob(statement, parameterIndex, reader, length); } @Override - public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Date x) throws SQLException { + public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) throws SQLException { chain.preparedStatement_setDate(statement, parameterIndex, x); } @Override - public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Date x, Calendar cal) throws SQLException { + public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, Calendar cal) + throws SQLException { chain.preparedStatement_setDate(statement, parameterIndex, x, cal); } @Override - public void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - double x) throws SQLException { + public void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, double x) throws SQLException { chain.preparedStatement_setDouble(statement, parameterIndex, x); } @Override - public void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - float x) throws SQLException { + public void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException { chain.preparedStatement_setFloat(statement, parameterIndex, x); } @Override - public void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException { + public void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException { chain.preparedStatement_setInt(statement, parameterIndex, x); } @Override - public void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - long x) throws SQLException { + public void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException { chain.preparedStatement_setLong(statement, parameterIndex, x); } @Override - public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader value) throws SQLException { + public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader value) + throws SQLException { chain.preparedStatement_setNCharacterStream(statement, parameterIndex, value); } @Override - public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader value, long length) - throws SQLException { + public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader value, long length) + throws SQLException { chain.preparedStatement_setNCharacterStream(statement, parameterIndex, value, length); } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - NClob value) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, NClob value) throws SQLException { chain.preparedStatement_setNClob(statement, parameterIndex, value); } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException { chain.preparedStatement_setNClob(statement, parameterIndex, reader); } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader, long length) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) + throws SQLException { chain.preparedStatement_setNClob(statement, parameterIndex, reader, length); } @Override - public void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String value) throws SQLException { + public void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String value) throws SQLException { chain.preparedStatement_setNString(statement, parameterIndex, value); } @Override - public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType) throws SQLException { + public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType) throws SQLException { chain.preparedStatement_setNull(statement, parameterIndex, sqlType); } @Override - public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException { + public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) + throws SQLException { chain.preparedStatement_setNull(statement, parameterIndex, sqlType, typeName); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException { chain.preparedStatement_setObject(statement, parameterIndex, x); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) + throws SQLException { chain.preparedStatement_setObject(statement, parameterIndex, x, targetSqlType); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType, int scaleOrLength) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, + int scaleOrLength) throws SQLException { chain.preparedStatement_setObject(statement, parameterIndex, x, targetSqlType, scaleOrLength); } @Override - public void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException { + public void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException { chain.preparedStatement_setRef(statement, parameterIndex, x); } @Override - public void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - RowId x) throws SQLException { + public void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException { chain.preparedStatement_setRowId(statement, parameterIndex, x); } @Override - public void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - short x) throws SQLException { + public void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException { chain.preparedStatement_setShort(statement, parameterIndex, x); } @Override - public void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - SQLXML xmlObject) throws SQLException { + public void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) throws SQLException { chain.preparedStatement_setSQLXML(statement, parameterIndex, xmlObject); } @Override - public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String x) throws SQLException { + public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException { chain.preparedStatement_setString(statement, parameterIndex, x); } @Override - public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Time x) throws SQLException { + public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) throws SQLException { chain.preparedStatement_setTime(statement, parameterIndex, x); } @Override - public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Time x, Calendar cal) throws SQLException { + public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, Calendar cal) + throws SQLException { chain.preparedStatement_setTime(statement, parameterIndex, x, cal); } @Override - public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x) throws SQLException { + public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x) + throws SQLException { chain.preparedStatement_setTimestamp(statement, parameterIndex, x); } @Override - public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x, Calendar cal) throws SQLException { + public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x, Calendar cal) + throws SQLException { chain.preparedStatement_setTimestamp(statement, parameterIndex, x, cal); } @Override - public void preparedStatement_setUnicodeStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, int length) - throws SQLException { + public void preparedStatement_setUnicodeStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException { chain.preparedStatement_setUnicodeStream(statement, parameterIndex, x, length); } @Override - public void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.net.URL x) throws SQLException { + public void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.net.URL x) throws SQLException { chain.preparedStatement_setURL(statement, parameterIndex, x); } @@ -1415,50 +1264,42 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getAsciiStream(result, columnIndex); } @Override - public java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.io.InputStream resultSet_getAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getAsciiStream(result, columnLabel); } @Override - public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getBigDecimal(result, columnIndex); } @Override - public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, int columnIndex, int scale) - throws SQLException { + public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, int columnIndex, int scale) throws SQLException { return chain.resultSet_getBigDecimal(result, columnIndex, scale); } @Override - public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getBigDecimal(result, columnLabel); } @Override - public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, String columnLabel, int scale) - throws SQLException { + public BigDecimal resultSet_getBigDecimal(FilterChain chain, ResultSetProxy result, String columnLabel, int scale) throws SQLException { return chain.resultSet_getBigDecimal(result, columnLabel, scale); } @Override - public java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getBinaryStream(result, columnIndex); } @Override - public java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.io.InputStream resultSet_getBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getBinaryStream(result, columnLabel); } @@ -1478,8 +1319,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public boolean resultSet_getBoolean(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public boolean resultSet_getBoolean(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getBoolean(result, columnLabel); } @@ -1504,14 +1344,12 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getCharacterStream(result, columnIndex); } @Override - public java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.io.Reader resultSet_getCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getCharacterStream(result, columnLabel); } @@ -1536,26 +1374,22 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getDate(result, columnIndex); } @Override - public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, int columnIndex, Calendar cal) - throws SQLException { + public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, int columnIndex, Calendar cal) throws SQLException { return chain.resultSet_getDate(result, columnIndex, cal); } @Override - public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getDate(result, columnLabel); } @Override - public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, String columnLabel, Calendar cal) - throws SQLException { + public java.sql.Date resultSet_getDate(FilterChain chain, ResultSetProxy result, String columnLabel, Calendar cal) throws SQLException { return chain.resultSet_getDate(result, columnLabel, cal); } @@ -1620,14 +1454,12 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getNCharacterStream(result, columnIndex); } @Override - public java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.io.Reader resultSet_getNCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getNCharacterStream(result, columnLabel); } @@ -1647,8 +1479,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public String resultSet_getNString(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public String resultSet_getNString(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getNString(result, columnLabel); } @@ -1658,8 +1489,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, int columnIndex, - java.util.Map> map) throws SQLException { + public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, int columnIndex, java.util.Map> map) throws SQLException { return chain.resultSet_getObject(result, columnIndex, map); } @@ -1669,8 +1499,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, String columnLabel, - java.util.Map> map) throws SQLException { + public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, String columnLabel, java.util.Map> map) throws SQLException { return chain.resultSet_getObject(result, columnLabel, map); } @@ -1737,50 +1566,42 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getTime(result, columnIndex); } @Override - public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, int columnIndex, Calendar cal) - throws SQLException { + public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, int columnIndex, Calendar cal) throws SQLException { return chain.resultSet_getTime(result, columnIndex, cal); } @Override - public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getTime(result, columnLabel); } @Override - public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, String columnLabel, Calendar cal) - throws SQLException { + public java.sql.Time resultSet_getTime(FilterChain chain, ResultSetProxy result, String columnLabel, Calendar cal) throws SQLException { return chain.resultSet_getTime(result, columnLabel, cal); } @Override - public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getTimestamp(result, columnIndex); } @Override - public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, int columnIndex, - Calendar cal) throws SQLException { + public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, int columnIndex, Calendar cal) throws SQLException { return chain.resultSet_getTimestamp(result, columnIndex, cal); } @Override - public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getTimestamp(result, columnLabel); } @Override - public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, String columnLabel, - Calendar cal) throws SQLException { + public java.sql.Timestamp resultSet_getTimestamp(FilterChain chain, ResultSetProxy result, String columnLabel, Calendar cal) throws SQLException { return chain.resultSet_getTimestamp(result, columnLabel, cal); } @@ -1790,14 +1611,12 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy result, int columnIndex) - throws SQLException { + public java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy result, int columnIndex) throws SQLException { return chain.resultSet_getUnicodeStream(result, columnIndex); } @Override - public java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.io.InputStream resultSet_getUnicodeStream(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getUnicodeStream(result, columnLabel); } @@ -1807,8 +1626,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public java.net.URL resultSet_getURL(FilterChain chain, ResultSetProxy result, String columnLabel) - throws SQLException { + public java.net.URL resultSet_getURL(FilterChain chain, ResultSetProxy result, String columnLabel) throws SQLException { return chain.resultSet_getURL(result, columnLabel); } @@ -1898,8 +1716,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void resultSet_setFetchDirection(FilterChain chain, ResultSetProxy result, int direction) - throws SQLException { + public void resultSet_setFetchDirection(FilterChain chain, ResultSetProxy result, int direction) throws SQLException { chain.resultSet_setFetchDirection(result, direction); } @@ -1909,374 +1726,319 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void resultSet_updateArray(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Array x) - throws SQLException { + public void resultSet_updateArray(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Array x) throws SQLException { chain.resultSet_updateArray(result, columnIndex, x); } @Override - public void resultSet_updateArray(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Array x) - throws SQLException { + public void resultSet_updateArray(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Array x) throws SQLException { chain.resultSet_updateArray(result, columnLabel, x); } @Override - public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.InputStream x) throws SQLException { + public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.InputStream x) throws SQLException { chain.resultSet_updateAsciiStream(result, columnIndex, x); } @Override - public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.InputStream x, int length) throws SQLException { + public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.InputStream x, int length) throws SQLException { chain.resultSet_updateAsciiStream(result, columnIndex, x, length); } @Override - public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.InputStream x, long length) throws SQLException { + public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.InputStream x, long length) throws SQLException { chain.resultSet_updateAsciiStream(result, columnIndex, x, length); } @Override - public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.InputStream x) throws SQLException { + public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.InputStream x) throws SQLException { chain.resultSet_updateAsciiStream(result, columnLabel, x); } @Override - public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.InputStream x, int length) throws SQLException { + public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.InputStream x, int length) + throws SQLException { chain.resultSet_updateAsciiStream(result, columnLabel, x, length); } @Override - public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.InputStream x, long length) throws SQLException { + public void resultSet_updateAsciiStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.InputStream x, long length) + throws SQLException { chain.resultSet_updateAsciiStream(result, columnLabel, x, length); } @Override - public void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy result, int columnIndex, BigDecimal x) - throws SQLException { + public void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy result, int columnIndex, BigDecimal x) throws SQLException { chain.resultSet_updateBigDecimal(result, columnIndex, x); } @Override - public void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy result, String columnLabel, BigDecimal x) - throws SQLException { + public void resultSet_updateBigDecimal(FilterChain chain, ResultSetProxy result, String columnLabel, BigDecimal x) throws SQLException { chain.resultSet_updateBigDecimal(result, columnLabel, x); } @Override - public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.InputStream x) throws SQLException { + public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.InputStream x) throws SQLException { chain.resultSet_updateBinaryStream(result, columnIndex, x); } @Override - public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.InputStream x, int length) throws SQLException { + public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.InputStream x, int length) throws SQLException { chain.resultSet_updateBinaryStream(result, columnIndex, x, length); } @Override - public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.InputStream x, long length) throws SQLException { + public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.InputStream x, long length) throws SQLException { chain.resultSet_updateBinaryStream(result, columnIndex, x, length); } @Override - public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.InputStream x) throws SQLException { + public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.InputStream x) throws SQLException { chain.resultSet_updateBinaryStream(result, columnLabel, x); } @Override - public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.InputStream x, int length) throws SQLException { + public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.InputStream x, int length) + throws SQLException { chain.resultSet_updateBinaryStream(result, columnLabel, x, length); } @Override - public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.InputStream x, long length) throws SQLException { + public void resultSet_updateBinaryStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.InputStream x, long length) + throws SQLException { chain.resultSet_updateBinaryStream(result, columnLabel, x, length); } @Override - public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, int columnIndex, InputStream inputStream) - throws SQLException { + public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, int columnIndex, InputStream inputStream) throws SQLException { chain.resultSet_updateBlob(result, columnIndex, inputStream); } @Override - public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, int columnIndex, - InputStream inputStream, long length) throws SQLException { + public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, int columnIndex, InputStream inputStream, long length) throws SQLException { chain.resultSet_updateBlob(result, columnIndex, inputStream, length); } @Override - public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Blob x) - throws SQLException { + public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Blob x) throws SQLException { chain.resultSet_updateBlob(result, columnIndex, x); } @Override - public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, String columnLabel, - InputStream inputStream) throws SQLException { + public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, String columnLabel, InputStream inputStream) throws SQLException { chain.resultSet_updateBlob(result, columnLabel, inputStream); } @Override - public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, String columnLabel, - InputStream inputStream, long length) throws SQLException { + public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, String columnLabel, InputStream inputStream, long length) throws SQLException { chain.resultSet_updateBlob(result, columnLabel, inputStream, length); } @Override - public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Blob x) - throws SQLException { + public void resultSet_updateBlob(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Blob x) throws SQLException { chain.resultSet_updateBlob(result, columnLabel, x); } @Override - public void resultSet_updateBoolean(FilterChain chain, ResultSetProxy result, int columnIndex, boolean x) - throws SQLException { + public void resultSet_updateBoolean(FilterChain chain, ResultSetProxy result, int columnIndex, boolean x) throws SQLException { chain.resultSet_updateBoolean(result, columnIndex, x); } @Override - public void resultSet_updateBoolean(FilterChain chain, ResultSetProxy result, String columnLabel, boolean x) - throws SQLException { + public void resultSet_updateBoolean(FilterChain chain, ResultSetProxy result, String columnLabel, boolean x) throws SQLException { chain.resultSet_updateBoolean(result, columnLabel, x); } @Override - public void resultSet_updateByte(FilterChain chain, ResultSetProxy result, int columnIndex, byte x) - throws SQLException { + public void resultSet_updateByte(FilterChain chain, ResultSetProxy result, int columnIndex, byte x) throws SQLException { chain.resultSet_updateByte(result, columnIndex, x); } @Override - public void resultSet_updateByte(FilterChain chain, ResultSetProxy result, String columnLabel, byte x) - throws SQLException { + public void resultSet_updateByte(FilterChain chain, ResultSetProxy result, String columnLabel, byte x) throws SQLException { chain.resultSet_updateByte(result, columnLabel, x); } @Override - public void resultSet_updateBytes(FilterChain chain, ResultSetProxy result, int columnIndex, byte[] x) - throws SQLException { + public void resultSet_updateBytes(FilterChain chain, ResultSetProxy result, int columnIndex, byte[] x) throws SQLException { chain.resultSet_updateBytes(result, columnIndex, x); } @Override - public void resultSet_updateBytes(FilterChain chain, ResultSetProxy result, String columnLabel, byte[] x) - throws SQLException { + public void resultSet_updateBytes(FilterChain chain, ResultSetProxy result, String columnLabel, byte[] x) throws SQLException { chain.resultSet_updateBytes(result, columnLabel, x); } @Override - public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.Reader x) throws SQLException { + public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.Reader x) throws SQLException { chain.resultSet_updateCharacterStream(result, columnIndex, x); } @Override - public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.Reader x, int length) throws SQLException { + public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.Reader x, int length) throws SQLException { chain.resultSet_updateCharacterStream(result, columnIndex, x, length); } @Override - public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.Reader x, long length) throws SQLException { + public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.Reader x, long length) throws SQLException { chain.resultSet_updateCharacterStream(result, columnIndex, x, length); } @Override - public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.Reader reader) throws SQLException { + public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.Reader reader) throws SQLException { chain.resultSet_updateCharacterStream(result, columnLabel, reader); } @Override - public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.Reader reader, int length) throws SQLException { + public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.Reader reader, int length) + throws SQLException { chain.resultSet_updateCharacterStream(result, columnLabel, reader, length); } @Override - public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.Reader reader, long length) throws SQLException { + public void resultSet_updateCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.Reader reader, long length) + throws SQLException { chain.resultSet_updateCharacterStream(result, columnLabel, reader, length); } @Override - public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Clob x) - throws SQLException { + public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Clob x) throws SQLException { chain.resultSet_updateClob(result, columnIndex, x); } @Override - public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader) - throws SQLException { + public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader) throws SQLException { chain.resultSet_updateClob(result, columnIndex, reader); } @Override - public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader, - long length) throws SQLException { + public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader, long length) throws SQLException { chain.resultSet_updateClob(result, columnIndex, reader, length); } @Override - public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Clob x) - throws SQLException { + public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Clob x) throws SQLException { chain.resultSet_updateClob(result, columnLabel, x); } @Override - public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader) - throws SQLException { + public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader) throws SQLException { chain.resultSet_updateClob(result, columnLabel, reader); } @Override - public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader, - long length) throws SQLException { + public void resultSet_updateClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader, long length) throws SQLException { chain.resultSet_updateClob(result, columnLabel, reader, length); } @Override - public void resultSet_updateDate(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Date x) - throws SQLException { + public void resultSet_updateDate(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Date x) throws SQLException { chain.resultSet_updateDate(result, columnIndex, x); } @Override - public void resultSet_updateDate(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Date x) - throws SQLException { + public void resultSet_updateDate(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Date x) throws SQLException { chain.resultSet_updateDate(result, columnLabel, x); } @Override - public void resultSet_updateDouble(FilterChain chain, ResultSetProxy result, int columnIndex, double x) - throws SQLException { + public void resultSet_updateDouble(FilterChain chain, ResultSetProxy result, int columnIndex, double x) throws SQLException { chain.resultSet_updateDouble(result, columnIndex, x); } @Override - public void resultSet_updateDouble(FilterChain chain, ResultSetProxy result, String columnLabel, double x) - throws SQLException { + public void resultSet_updateDouble(FilterChain chain, ResultSetProxy result, String columnLabel, double x) throws SQLException { chain.resultSet_updateDouble(result, columnLabel, x); } @Override - public void resultSet_updateFloat(FilterChain chain, ResultSetProxy result, int columnIndex, float x) - throws SQLException { + public void resultSet_updateFloat(FilterChain chain, ResultSetProxy result, int columnIndex, float x) throws SQLException { chain.resultSet_updateFloat(result, columnIndex, x); } @Override - public void resultSet_updateFloat(FilterChain chain, ResultSetProxy result, String columnLabel, float x) - throws SQLException { + public void resultSet_updateFloat(FilterChain chain, ResultSetProxy result, String columnLabel, float x) throws SQLException { chain.resultSet_updateFloat(result, columnLabel, x); } @Override - public void resultSet_updateInt(FilterChain chain, ResultSetProxy result, int columnIndex, int x) - throws SQLException { + public void resultSet_updateInt(FilterChain chain, ResultSetProxy result, int columnIndex, int x) throws SQLException { chain.resultSet_updateInt(result, columnIndex, x); } @Override - public void resultSet_updateInt(FilterChain chain, ResultSetProxy result, String columnLabel, int x) - throws SQLException { + public void resultSet_updateInt(FilterChain chain, ResultSetProxy result, String columnLabel, int x) throws SQLException { chain.resultSet_updateInt(result, columnLabel, x); } @Override - public void resultSet_updateLong(FilterChain chain, ResultSetProxy result, int columnIndex, long x) - throws SQLException { + public void resultSet_updateLong(FilterChain chain, ResultSetProxy result, int columnIndex, long x) throws SQLException { chain.resultSet_updateLong(result, columnIndex, x); } @Override - public void resultSet_updateLong(FilterChain chain, ResultSetProxy result, String columnLabel, long x) - throws SQLException { + public void resultSet_updateLong(FilterChain chain, ResultSetProxy result, String columnLabel, long x) throws SQLException { chain.resultSet_updateLong(result, columnLabel, x); } @Override - public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.Reader x) throws SQLException { + public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.Reader x) throws SQLException { chain.resultSet_updateNCharacterStream(result, columnIndex, x); } @Override - public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, - java.io.Reader x, long length) throws SQLException { + public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, int columnIndex, java.io.Reader x, long length) throws SQLException { chain.resultSet_updateNCharacterStream(result, columnIndex, x, length); } @Override - public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.Reader reader) throws SQLException { + public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.Reader reader) throws SQLException { chain.resultSet_updateNCharacterStream(result, columnLabel, reader); } @Override - public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, - java.io.Reader reader, long length) throws SQLException { + public void resultSet_updateNCharacterStream(FilterChain chain, ResultSetProxy result, String columnLabel, java.io.Reader reader, long length) + throws SQLException { chain.resultSet_updateNCharacterStream(result, columnLabel, reader, length); } @Override - public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, int columnIndex, NClob nClob) - throws SQLException { + public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, int columnIndex, NClob nClob) throws SQLException { chain.resultSet_updateNClob(result, columnIndex, nClob); } @Override - public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader) - throws SQLException { + public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader) throws SQLException { chain.resultSet_updateNClob(result, columnIndex, reader); } @Override - public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader, - long length) throws SQLException { + public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, int columnIndex, Reader reader, long length) throws SQLException { chain.resultSet_updateNClob(result, columnIndex, reader, length); } @Override - public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, String columnLabel, NClob nClob) - throws SQLException { + public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, String columnLabel, NClob nClob) throws SQLException { chain.resultSet_updateNClob(result, columnLabel, nClob); } @Override - public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader) - throws SQLException { + public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader) throws SQLException { chain.resultSet_updateNClob(result, columnLabel, reader); } @Override - public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader, - long length) throws SQLException { + public void resultSet_updateNClob(FilterChain chain, ResultSetProxy result, String columnLabel, Reader reader, long length) throws SQLException { chain.resultSet_updateNClob(result, columnLabel, reader, length); } @Override - public void resultSet_updateNString(FilterChain chain, ResultSetProxy result, int columnIndex, String nString) - throws SQLException { + public void resultSet_updateNString(FilterChain chain, ResultSetProxy result, int columnIndex, String nString) throws SQLException { chain.resultSet_updateNString(result, columnIndex, nString); } @Override - public void resultSet_updateNString(FilterChain chain, ResultSetProxy result, String columnLabel, String nString) - throws SQLException { + public void resultSet_updateNString(FilterChain chain, ResultSetProxy result, String columnLabel, String nString) throws SQLException { chain.resultSet_updateNString(result, columnLabel, nString); } @@ -2291,38 +2053,32 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, int columnIndex, Object x) - throws SQLException { + public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, int columnIndex, Object x) throws SQLException { chain.resultSet_updateObject(result, columnIndex, x); } @Override - public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, int columnIndex, Object x, - int scaleOrLength) throws SQLException { + public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, int columnIndex, Object x, int scaleOrLength) throws SQLException { chain.resultSet_updateObject(result, columnIndex, x, scaleOrLength); } @Override - public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, String columnLabel, Object x) - throws SQLException { + public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, String columnLabel, Object x) throws SQLException { chain.resultSet_updateObject(result, columnLabel, x); } @Override - public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, String columnLabel, Object x, - int scaleOrLength) throws SQLException { + public void resultSet_updateObject(FilterChain chain, ResultSetProxy result, String columnLabel, Object x, int scaleOrLength) throws SQLException { chain.resultSet_updateObject(result, columnLabel, x, scaleOrLength); } @Override - public void resultSet_updateRef(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Ref x) - throws SQLException { + public void resultSet_updateRef(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Ref x) throws SQLException { chain.resultSet_updateRef(result, columnIndex, x); } @Override - public void resultSet_updateRef(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Ref x) - throws SQLException { + public void resultSet_updateRef(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Ref x) throws SQLException { chain.resultSet_updateRef(result, columnLabel, x); } @@ -2332,74 +2088,62 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void resultSet_updateRowId(FilterChain chain, ResultSetProxy result, int columnIndex, RowId x) - throws SQLException { + public void resultSet_updateRowId(FilterChain chain, ResultSetProxy result, int columnIndex, RowId x) throws SQLException { chain.resultSet_updateRowId(result, columnIndex, x); } @Override - public void resultSet_updateRowId(FilterChain chain, ResultSetProxy result, String columnLabel, RowId x) - throws SQLException { + public void resultSet_updateRowId(FilterChain chain, ResultSetProxy result, String columnLabel, RowId x) throws SQLException { chain.resultSet_updateRowId(result, columnLabel, x); } @Override - public void resultSet_updateShort(FilterChain chain, ResultSetProxy result, int columnIndex, short x) - throws SQLException { + public void resultSet_updateShort(FilterChain chain, ResultSetProxy result, int columnIndex, short x) throws SQLException { chain.resultSet_updateShort(result, columnIndex, x); } @Override - public void resultSet_updateShort(FilterChain chain, ResultSetProxy result, String columnLabel, short x) - throws SQLException { + public void resultSet_updateShort(FilterChain chain, ResultSetProxy result, String columnLabel, short x) throws SQLException { chain.resultSet_updateShort(result, columnLabel, x); } @Override - public void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy result, int columnIndex, SQLXML xmlObject) - throws SQLException { + public void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy result, int columnIndex, SQLXML xmlObject) throws SQLException { chain.resultSet_updateSQLXML(result, columnIndex, xmlObject); } @Override - public void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy result, String columnLabel, SQLXML xmlObject) - throws SQLException { + public void resultSet_updateSQLXML(FilterChain chain, ResultSetProxy result, String columnLabel, SQLXML xmlObject) throws SQLException { chain.resultSet_updateSQLXML(result, columnLabel, xmlObject); } @Override - public void resultSet_updateString(FilterChain chain, ResultSetProxy result, int columnIndex, String x) - throws SQLException { + public void resultSet_updateString(FilterChain chain, ResultSetProxy result, int columnIndex, String x) throws SQLException { chain.resultSet_updateString(result, columnIndex, x); } @Override - public void resultSet_updateString(FilterChain chain, ResultSetProxy result, String columnLabel, String x) - throws SQLException { + public void resultSet_updateString(FilterChain chain, ResultSetProxy result, String columnLabel, String x) throws SQLException { chain.resultSet_updateString(result, columnLabel, x); } @Override - public void resultSet_updateTime(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Time x) - throws SQLException { + public void resultSet_updateTime(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Time x) throws SQLException { chain.resultSet_updateTime(result, columnIndex, x); } @Override - public void resultSet_updateTime(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Time x) - throws SQLException { + public void resultSet_updateTime(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Time x) throws SQLException { chain.resultSet_updateTime(result, columnLabel, x); } @Override - public void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy result, int columnIndex, - java.sql.Timestamp x) throws SQLException { + public void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy result, int columnIndex, java.sql.Timestamp x) throws SQLException { chain.resultSet_updateTimestamp(result, columnIndex, x); } @Override - public void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy result, String columnLabel, - java.sql.Timestamp x) throws SQLException { + public void resultSet_updateTimestamp(FilterChain chain, ResultSetProxy result, String columnLabel, java.sql.Timestamp x) throws SQLException { chain.resultSet_updateTimestamp(result, columnLabel, x); } @@ -2439,20 +2183,17 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { return chain.statement_execute(statement, sql, autoGeneratedKeys); } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { return chain.statement_execute(statement, sql, columnIndexes); } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { return chain.statement_execute(statement, sql, columnNames); } @@ -2463,8 +2204,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple // ///////////////////////////// @Override - public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) - throws SQLException { + public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) throws SQLException { return chain.statement_executeQuery(statement, sql); } @@ -2474,20 +2214,17 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { return chain.statement_executeUpdate(statement, sql, autoGeneratedKeys); } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { return chain.statement_executeUpdate(statement, sql, columnIndexes); } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { return chain.statement_executeUpdate(statement, sql, columnNames); } @@ -2527,8 +2264,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public boolean statement_getMoreResults(FilterChain chain, StatementProxy statement, int current) - throws SQLException { + public boolean statement_getMoreResults(FilterChain chain, StatementProxy statement, int current) throws SQLException { return chain.statement_getMoreResults(statement, current); } @@ -2583,14 +2319,12 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void statement_setEscapeProcessing(FilterChain chain, StatementProxy statement, boolean enable) - throws SQLException { + public void statement_setEscapeProcessing(FilterChain chain, StatementProxy statement, boolean enable) throws SQLException { chain.statement_setEscapeProcessing(statement, enable); } @Override - public void statement_setFetchDirection(FilterChain chain, StatementProxy statement, int direction) - throws SQLException { + public void statement_setFetchDirection(FilterChain chain, StatementProxy statement, int direction) throws SQLException { chain.statement_setFetchDirection(statement, direction); } @@ -2610,8 +2344,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public void statement_setPoolable(FilterChain chain, StatementProxy statement, boolean poolable) - throws SQLException { + public void statement_setPoolable(FilterChain chain, StatementProxy statement, boolean poolable) throws SQLException { chain.statement_setPoolable(statement, poolable); } @@ -2661,8 +2394,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str, int offset, int len) - throws SQLException { + public int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str, int offset, int len) throws SQLException { return chain.clob_setString(wrapper, pos, str, offset, len); } @@ -2687,8 +2419,7 @@ public abstract class FilterAdapter extends NotificationBroadcasterSupport imple } @Override - public Reader clob_getCharacterStream(FilterChain chain, ClobProxy wrapper, long pos, long length) - throws SQLException { + public Reader clob_getCharacterStream(FilterChain chain, ClobProxy wrapper, long pos, long length) throws SQLException { return chain.clob_getCharacterStream(wrapper, pos, length); } diff --git a/src/main/java/com/alibaba/druid/filter/FilterChain.java b/src/main/java/com/alibaba/druid/filter/FilterChain.java index 5da56978f0..04ab277582 100644 --- a/src/main/java/com/alibaba/druid/filter/FilterChain.java +++ b/src/main/java/com/alibaba/druid/filter/FilterChain.java @@ -99,14 +99,11 @@ public interface FilterChain { void connection_clearWarnings(ConnectionProxy connection) throws SQLException; - StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, int resultSetConcurrency) - throws SQLException; + StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, int resultSetConcurrency) throws SQLException; - PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int resultSetType, - int resultSetConcurrency) throws SQLException; + PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) throws SQLException; - CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, - int resultSetConcurrency) throws SQLException; + CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) throws SQLException; java.util.Map> connection_getTypeMap(ConnectionProxy connection) throws SQLException; @@ -124,25 +121,20 @@ public interface FilterChain { void connection_releaseSavepoint(ConnectionProxy connection, Savepoint savepoint) throws SQLException; - StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException; + StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, int resultSetConcurrency, int resultSetHoldability) + throws SQLException; - PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException; + PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException; - CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException; + CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) + throws SQLException; - PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int autoGeneratedKeys) - throws SQLException; + PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int autoGeneratedKeys) throws SQLException; - PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int columnIndexes[]) - throws SQLException; + PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int columnIndexes[]) throws SQLException; - PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, String columnNames[]) - throws SQLException; + PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, String columnNames[]) throws SQLException; Clob connection_createClob(ConnectionProxy connection) throws SQLException; @@ -164,8 +156,7 @@ public interface FilterChain { Array connection_createArrayOf(ConnectionProxy connection, String typeName, Object[] elements) throws SQLException; - Struct connection_createStruct(ConnectionProxy connection, String typeName, Object[] attributes) - throws SQLException; + Struct connection_createStruct(ConnectionProxy connection, String typeName, Object[] attributes) throws SQLException; // --------- @@ -204,8 +195,7 @@ public interface FilterChain { public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, int columnIndex) - throws SQLException; + public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -225,8 +215,7 @@ public interface FilterChain { public double resultSet_getDouble(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel, int scale) - throws SQLException; + public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel, int scale) throws SQLException; public byte[] resultSet_getBytes(ResultSetProxy resultSet, String columnLabel) throws SQLException; @@ -236,14 +225,11 @@ public interface FilterChain { public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; public SQLWarning resultSet_getWarnings(ResultSetProxy resultSet) throws SQLException; @@ -261,8 +247,7 @@ public interface FilterChain { public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -336,20 +321,15 @@ public interface FilterChain { public void resultSet_updateTime(ResultSetProxy resultSet, int columnIndex, java.sql.Time x) throws SQLException; - public void resultSet_updateTimestamp(ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) - throws SQLException; + public void resultSet_updateTimestamp(ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) - throws SQLException; + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - int length) throws SQLException; + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) - throws SQLException; + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) throws SQLException; - public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) - throws SQLException; + public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) throws SQLException; public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x) throws SQLException; @@ -369,8 +349,7 @@ public interface FilterChain { public void resultSet_updateDouble(ResultSetProxy resultSet, String columnLabel, double x) throws SQLException; - public void resultSet_updateBigDecimal(ResultSetProxy resultSet, String columnLabel, BigDecimal x) - throws SQLException; + public void resultSet_updateBigDecimal(ResultSetProxy resultSet, String columnLabel, BigDecimal x) throws SQLException; public void resultSet_updateString(ResultSetProxy resultSet, String columnLabel, String x) throws SQLException; @@ -380,20 +359,15 @@ public interface FilterChain { public void resultSet_updateTime(ResultSetProxy resultSet, String columnLabel, java.sql.Time x) throws SQLException; - public void resultSet_updateTimestamp(ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) - throws SQLException; + public void resultSet_updateTimestamp(ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - int length) throws SQLException; + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - int length) throws SQLException; + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - int length) throws SQLException; + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, int length) throws SQLException; - public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) - throws SQLException; + public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) throws SQLException; public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x) throws SQLException; @@ -413,8 +387,7 @@ public interface FilterChain { public Statement resultSet_getStatement(ResultSetProxy resultSet) throws SQLException; - public Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex, java.util.Map> map) - throws SQLException; + public Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex, java.util.Map> map) throws SQLException; public Ref resultSet_getRef(ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -424,8 +397,7 @@ public interface FilterChain { public Array resultSet_getArray(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel, java.util.Map> map) - throws SQLException; + public Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel, java.util.Map> map) throws SQLException; public Ref resultSet_getRef(ResultSetProxy resultSet, String columnLabel) throws SQLException; @@ -437,19 +409,15 @@ public interface FilterChain { public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex, Calendar cal) - throws SQLException; + public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; public java.net.URL resultSet_getURL(ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -469,8 +437,7 @@ public interface FilterChain { public void resultSet_updateArray(ResultSetProxy resultSet, int columnIndex, java.sql.Array x) throws SQLException; - public void resultSet_updateArray(ResultSetProxy resultSet, String columnLabel, java.sql.Array x) - throws SQLException; + public void resultSet_updateArray(ResultSetProxy resultSet, String columnLabel, java.sql.Array x) throws SQLException; public RowId resultSet_getRowId(ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -486,8 +453,7 @@ public interface FilterChain { public void resultSet_updateNString(ResultSetProxy resultSet, int columnIndex, String nString) throws SQLException; - public void resultSet_updateNString(ResultSetProxy resultSet, String columnLabel, String nString) - throws SQLException; + public void resultSet_updateNString(ResultSetProxy resultSet, String columnLabel, String nString) throws SQLException; public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, NClob nClob) throws SQLException; @@ -503,8 +469,7 @@ public interface FilterChain { public void resultSet_updateSQLXML(ResultSetProxy resultSet, int columnIndex, SQLXML xmlObject) throws SQLException; - public void resultSet_updateSQLXML(ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) - throws SQLException; + public void resultSet_updateSQLXML(ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) throws SQLException; public String resultSet_getNString(ResultSetProxy resultSet, int columnIndex) throws SQLException; @@ -512,80 +477,55 @@ public interface FilterChain { public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, - long length) throws SQLException; + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) throws SQLException; - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - long length) throws SQLException; + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, long length) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - long length) throws SQLException; + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - long length) throws SQLException; + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) - throws SQLException; + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - long length) throws SQLException; + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - long length) throws SQLException; + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - long length) throws SQLException; + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, long length) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) - throws SQLException; + public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) - throws SQLException; + public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) throws SQLException; - public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException; + public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) throws SQLException; - public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) - throws SQLException; + public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException; - public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException; + public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) throws SQLException; - public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) - throws SQLException; + public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException; - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException; + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) throws SQLException; - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) - throws SQLException; + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException; + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException; + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException; + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) - throws SQLException; + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) - throws SQLException; + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) - throws SQLException; + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream) - throws SQLException; + public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream) - throws SQLException; + public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream) throws SQLException; public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; @@ -683,175 +623,126 @@ public interface FilterChain { public int preparedStatement_executeUpdate(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType) - throws SQLException; + public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType) throws SQLException; - public void preparedStatement_setBoolean(PreparedStatementProxy statement, int parameterIndex, boolean x) - throws SQLException; + public void preparedStatement_setBoolean(PreparedStatementProxy statement, int parameterIndex, boolean x) throws SQLException; - public void preparedStatement_setByte(PreparedStatementProxy statement, int parameterIndex, byte x) - throws SQLException; + public void preparedStatement_setByte(PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException; - public void preparedStatement_setShort(PreparedStatementProxy statement, int parameterIndex, short x) - throws SQLException; + public void preparedStatement_setShort(PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException; - public void preparedStatement_setInt(PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException; + public void preparedStatement_setInt(PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException; - public void preparedStatement_setLong(PreparedStatementProxy statement, int parameterIndex, long x) - throws SQLException; + public void preparedStatement_setLong(PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException; - public void preparedStatement_setFloat(PreparedStatementProxy statement, int parameterIndex, float x) - throws SQLException; + public void preparedStatement_setFloat(PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException; - public void preparedStatement_setDouble(PreparedStatementProxy statement, int parameterIndex, double x) - throws SQLException; + public void preparedStatement_setDouble(PreparedStatementProxy statement, int parameterIndex, double x) throws SQLException; - public void preparedStatement_setBigDecimal(PreparedStatementProxy statement, int parameterIndex, BigDecimal x) - throws SQLException; + public void preparedStatement_setBigDecimal(PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException; - public void preparedStatement_setString(PreparedStatementProxy statement, int parameterIndex, String x) - throws SQLException; + public void preparedStatement_setString(PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException; - public void preparedStatement_setBytes(PreparedStatementProxy statement, int parameterIndex, byte x[]) - throws SQLException; + public void preparedStatement_setBytes(PreparedStatementProxy statement, int parameterIndex, byte x[]) throws SQLException; - public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) - throws SQLException; + public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) throws SQLException; - public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) - throws SQLException; + public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) throws SQLException; - public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x) throws SQLException; + public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x) throws SQLException; - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) throws SQLException; - public void preparedStatement_setUnicodeStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + public void preparedStatement_setUnicodeStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) throws SQLException; - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) throws SQLException; public void preparedStatement_clearParameters(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType) throws SQLException; + public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) throws SQLException; - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x) - throws SQLException; + public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException; public boolean preparedStatement_execute(PreparedStatementProxy statement) throws SQLException; public void preparedStatement_addBatch(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, int length) throws SQLException; + public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, int length) + throws SQLException; - public void preparedStatement_setRef(PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException; + public void preparedStatement_setRef(PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException; - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, Blob x) - throws SQLException; + public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException; - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Clob x) - throws SQLException; + public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException; - public void preparedStatement_setArray(PreparedStatementProxy statement, int parameterIndex, Array x) - throws SQLException; + public void preparedStatement_setArray(PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException; public ResultSetMetaData preparedStatement_getMetaData(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, - Calendar cal) throws SQLException; + public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException; - public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, - Calendar cal) throws SQLException; + public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException; - public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x, Calendar cal) throws SQLException; + public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException; - public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType, - String typeName) throws SQLException; + public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) throws SQLException; - public void preparedStatement_setURL(PreparedStatementProxy statement, int parameterIndex, java.net.URL x) - throws SQLException; + public void preparedStatement_setURL(PreparedStatementProxy statement, int parameterIndex, java.net.URL x) throws SQLException; - public ParameterMetaData preparedStatement_getParameterMetaData(PreparedStatementProxy statement) - throws SQLException; + public ParameterMetaData preparedStatement_getParameterMetaData(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setRowId(PreparedStatementProxy statement, int parameterIndex, RowId x) - throws SQLException; + public void preparedStatement_setRowId(PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException; - public void preparedStatement_setNString(PreparedStatementProxy statement, int parameterIndex, String value) - throws SQLException; + public void preparedStatement_setNString(PreparedStatementProxy statement, int parameterIndex, String value) throws SQLException; - public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, - Reader value, long length) throws SQLException; + public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value, long length) throws SQLException; - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, NClob value) - throws SQLException; + public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, NClob value) throws SQLException; - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, - long length) throws SQLException; + public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) throws SQLException; - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream, long length) throws SQLException; + public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream, long length) throws SQLException; - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, - long length) throws SQLException; + public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) throws SQLException; - public void preparedStatement_setSQLXML(PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) - throws SQLException; + public void preparedStatement_setSQLXML(PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) throws SQLException; - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType, int scaleOrLength) throws SQLException; + public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, int scaleOrLength) + throws SQLException; - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException; + public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) throws SQLException; - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException; + public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) throws SQLException; - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, long length) throws SQLException; + public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, long length) + throws SQLException; - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException; + public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) throws SQLException; - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException; + public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) throws SQLException; - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader) throws SQLException; + public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader) throws SQLException; - public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value) - throws SQLException; + public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value) throws SQLException; - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) - throws SQLException; + public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException; - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) - throws SQLException; + public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) throws SQLException; - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) - throws SQLException; + public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException; // ///////////////////////////// - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType) - throws SQLException; + public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType) throws SQLException; - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, - int sqlType, int scale) throws SQLException; + public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType, int scale) throws SQLException; public boolean callableStatement_wasNull(CallableStatementProxy statement) throws SQLException; public String callableStatement_getString(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public boolean callableStatement_getBoolean(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public boolean callableStatement_getBoolean(CallableStatementProxy statement, int parameterIndex) throws SQLException; public byte callableStatement_getByte(CallableStatementProxy statement, int parameterIndex) throws SQLException; @@ -865,27 +756,21 @@ public interface FilterChain { public double callableStatement_getDouble(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex, int scale) - throws SQLException; + public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex, int scale) throws SQLException; public byte[] callableStatement_getBytes(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) throws SQLException; public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex, - java.util.Map> map) throws SQLException; + public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex, java.util.Map> map) throws SQLException; public Ref callableStatement_getRef(CallableStatementProxy statement, int parameterIndex) throws SQLException; @@ -895,110 +780,78 @@ public interface FilterChain { public Array callableStatement_getArray(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex, Calendar cal) - throws SQLException; + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException; - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) - throws SQLException; + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException; - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, - Calendar cal) throws SQLException; + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException; - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException; + public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType, String typeName) throws SQLException; - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType) throws SQLException; + public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException; - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType, int scale) throws SQLException; + public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType, int scale) throws SQLException; - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType, String typeName) throws SQLException; + public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType, String typeName) + throws SQLException; - public java.net.URL callableStatement_getURL(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public java.net.URL callableStatement_getURL(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public void callableStatement_setURL(CallableStatementProxy statement, String parameterName, java.net.URL val) - throws SQLException; + public void callableStatement_setURL(CallableStatementProxy statement, String parameterName, java.net.URL val) throws SQLException; - public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType) - throws SQLException; + public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException; - public void callableStatement_setBoolean(CallableStatementProxy statement, String parameterName, boolean x) - throws SQLException; + public void callableStatement_setBoolean(CallableStatementProxy statement, String parameterName, boolean x) throws SQLException; - public void callableStatement_setByte(CallableStatementProxy statement, String parameterName, byte x) - throws SQLException; + public void callableStatement_setByte(CallableStatementProxy statement, String parameterName, byte x) throws SQLException; - public void callableStatement_setShort(CallableStatementProxy statement, String parameterName, short x) - throws SQLException; + public void callableStatement_setShort(CallableStatementProxy statement, String parameterName, short x) throws SQLException; - public void callableStatement_setInt(CallableStatementProxy statement, String parameterName, int x) - throws SQLException; + public void callableStatement_setInt(CallableStatementProxy statement, String parameterName, int x) throws SQLException; - public void callableStatement_setLong(CallableStatementProxy statement, String parameterName, long x) - throws SQLException; + public void callableStatement_setLong(CallableStatementProxy statement, String parameterName, long x) throws SQLException; - public void callableStatement_setFloat(CallableStatementProxy statement, String parameterName, float x) - throws SQLException; + public void callableStatement_setFloat(CallableStatementProxy statement, String parameterName, float x) throws SQLException; - public void callableStatement_setDouble(CallableStatementProxy statement, String parameterName, double x) - throws SQLException; + public void callableStatement_setDouble(CallableStatementProxy statement, String parameterName, double x) throws SQLException; - public void callableStatement_setBigDecimal(CallableStatementProxy statement, String parameterName, BigDecimal x) - throws SQLException; + public void callableStatement_setBigDecimal(CallableStatementProxy statement, String parameterName, BigDecimal x) throws SQLException; - public void callableStatement_setString(CallableStatementProxy statement, String parameterName, String x) - throws SQLException; + public void callableStatement_setString(CallableStatementProxy statement, String parameterName, String x) throws SQLException; - public void callableStatement_setBytes(CallableStatementProxy statement, String parameterName, byte x[]) - throws SQLException; + public void callableStatement_setBytes(CallableStatementProxy statement, String parameterName, byte x[]) throws SQLException; - public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x) - throws SQLException; + public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x) throws SQLException; - public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x) - throws SQLException; + public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x) throws SQLException; - public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x) throws SQLException; + public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, java.sql.Timestamp x) throws SQLException; - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException; + public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) throws SQLException; - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException; + public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) + throws SQLException; - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, - int targetSqlType, int scale) throws SQLException; + public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, int targetSqlType, int scale) throws SQLException; - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, - int targetSqlType) throws SQLException; + public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, int targetSqlType) throws SQLException; - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x) - throws SQLException; + public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x) throws SQLException; - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader, int length) throws SQLException; + public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, java.io.Reader reader, int length) + throws SQLException; - public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x, - Calendar cal) throws SQLException; + public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x, Calendar cal) throws SQLException; - public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x, - Calendar cal) throws SQLException; + public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x, Calendar cal) throws SQLException; - public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x, Calendar cal) throws SQLException; + public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, java.sql.Timestamp x, Calendar cal) throws SQLException; - public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType, - String typeName) throws SQLException; + public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType, String typeName) throws SQLException; - public String callableStatement_getString(CallableStatementProxy statement, String parameterName) - throws SQLException; + public String callableStatement_getString(CallableStatementProxy statement, String parameterName) throws SQLException; - public boolean callableStatement_getBoolean(CallableStatementProxy statement, String parameterName) - throws SQLException; + public boolean callableStatement_getBoolean(CallableStatementProxy statement, String parameterName) throws SQLException; public byte callableStatement_getByte(CallableStatementProxy statement, String parameterName) throws SQLException; @@ -1010,29 +863,21 @@ public interface FilterChain { public float callableStatement_getFloat(CallableStatementProxy statement, String parameterName) throws SQLException; - public double callableStatement_getDouble(CallableStatementProxy statement, String parameterName) - throws SQLException; + public double callableStatement_getDouble(CallableStatementProxy statement, String parameterName) throws SQLException; - public byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) - throws SQLException; + public byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) throws SQLException; - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName) - throws SQLException; + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName) throws SQLException; - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) - throws SQLException; + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) throws SQLException; - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) - throws SQLException; + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) throws SQLException; - public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName) - throws SQLException; + public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName) throws SQLException; - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, String parameterName) - throws SQLException; + public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, String parameterName) throws SQLException; - public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName, - java.util.Map> map) throws SQLException; + public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName, java.util.Map> map) throws SQLException; public Ref callableStatement_getRef(CallableStatementProxy statement, String parameterName) throws SQLException; @@ -1042,108 +887,80 @@ public interface FilterChain { public Array callableStatement_getArray(CallableStatementProxy statement, String parameterName) throws SQLException; - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName, Calendar cal) - throws SQLException; + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException; - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) - throws SQLException; + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException; - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, - Calendar cal) throws SQLException; + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException; - public java.net.URL callableStatement_getURL(CallableStatementProxy statement, String parameterName) - throws SQLException; + public java.net.URL callableStatement_getURL(CallableStatementProxy statement, String parameterName) throws SQLException; public RowId callableStatement_getRowId(CallableStatementProxy statement, int parameterIndex) throws SQLException; public RowId callableStatement_getRowId(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setRowId(CallableStatementProxy statement, String parameterName, RowId x) - throws SQLException; + public void callableStatement_setRowId(CallableStatementProxy statement, String parameterName, RowId x) throws SQLException; - public void callableStatement_setNString(CallableStatementProxy statement, String parameterName, String value) - throws SQLException; + public void callableStatement_setNString(CallableStatementProxy statement, String parameterName, String value) throws SQLException; - public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, - Reader value, long length) throws SQLException; + public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, Reader value, long length) throws SQLException; - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, NClob value) - throws SQLException; + public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, NClob value) throws SQLException; - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader, - long length) throws SQLException; + public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader, long length) throws SQLException; - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, - InputStream inputStream, long length) throws SQLException; + public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, InputStream inputStream, long length) throws SQLException; - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader, - long length) throws SQLException; + public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader, long length) throws SQLException; public NClob callableStatement_getNClob(CallableStatementProxy statement, int parameterIndex) throws SQLException; public NClob callableStatement_getNClob(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setSQLXML(CallableStatementProxy statement, String parameterName, SQLXML xmlObject) - throws SQLException; + public void callableStatement_setSQLXML(CallableStatementProxy statement, String parameterName, SQLXML xmlObject) throws SQLException; public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, String parameterName) - throws SQLException; + public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, String parameterName) throws SQLException; - public String callableStatement_getNString(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public String callableStatement_getNString(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public String callableStatement_getNString(CallableStatementProxy statement, String parameterName) - throws SQLException; + public String callableStatement_getNString(CallableStatementProxy statement, String parameterName) throws SQLException; - public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, String parameterName) - throws SQLException; + public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, String parameterName) throws SQLException; - public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, String parameterName) - throws SQLException; + public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, Blob x) - throws SQLException; + public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, Blob x) throws SQLException; - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Clob x) - throws SQLException; + public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Clob x) throws SQLException; - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException; + public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException; - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException; + public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException; - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader, long length) throws SQLException; + public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, java.io.Reader reader, long length) + throws SQLException; - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException; + public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x) throws SQLException; - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException; + public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x) throws SQLException; - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader) throws SQLException; + public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, java.io.Reader reader) throws SQLException; - public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, - Reader value) throws SQLException; + public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, Reader value) throws SQLException; - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader) - throws SQLException; + public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException; - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, - InputStream inputStream) throws SQLException; + public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, InputStream inputStream) throws SQLException; - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader) - throws SQLException; + public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException; public void clob_free(ClobProxy wrapper) throws SQLException; diff --git a/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java b/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java index 4945656ee9..c76b783ac2 100644 --- a/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java +++ b/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java @@ -147,8 +147,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public Array connection_createArrayOf(ConnectionProxy connection, String typeName, Object[] elements) - throws SQLException { + public Array connection_createArrayOf(ConnectionProxy connection, String typeName, Object[] elements) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_createArrayOf(this, connection, typeName, elements); } @@ -208,8 +207,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, - int resultSetConcurrency) throws SQLException { + public StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, int resultSetConcurrency) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_createStatement(this, connection, resultSetType, resultSetConcurrency); } @@ -219,22 +217,18 @@ public class FilterChainImpl implements FilterChain { } @Override - public StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public StatementProxy connection_createStatement(ConnectionProxy connection, int resultSetType, int resultSetConcurrency, int resultSetHoldability) + throws SQLException { if (this.pos < filterSize) { - return nextFilter().connection_createStatement(this, connection, resultSetType, resultSetConcurrency, - resultSetHoldability); + return nextFilter().connection_createStatement(this, connection, resultSetType, resultSetConcurrency, resultSetHoldability); } - Statement statement = connection.getConnectionRaw().createStatement(resultSetType, resultSetConcurrency, - resultSetHoldability); + Statement statement = connection.getConnectionRaw().createStatement(resultSetType, resultSetConcurrency, resultSetHoldability); return wrap(connection, statement); } @Override - public Struct connection_createStruct(ConnectionProxy connection, String typeName, Object[] attributes) - throws SQLException { + public Struct connection_createStruct(ConnectionProxy connection, String typeName, Object[] attributes) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_createStruct(this, connection, typeName, attributes); } @@ -383,35 +377,29 @@ public class FilterChainImpl implements FilterChain { } @Override - public CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, - int resultSetConcurrency) throws SQLException { + public CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_prepareCall(this, connection, sql, resultSetType, resultSetConcurrency); } - CallableStatement statement = connection.getConnectionRaw().prepareCall(sql, resultSetType, - resultSetConcurrency); + CallableStatement statement = connection.getConnectionRaw().prepareCall(sql, resultSetType, resultSetConcurrency); return wrap(connection, statement, sql); } @Override - public CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public CallableStatementProxy connection_prepareCall(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException { if (this.pos < filterSize) { - return nextFilter().connection_prepareCall(this, connection, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + return nextFilter().connection_prepareCall(this, connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } - CallableStatement statement = connection.getConnectionRaw().prepareCall(sql, resultSetType, - resultSetConcurrency, - resultSetHoldability); + CallableStatement statement = connection.getConnectionRaw().prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability); return wrap(connection, statement, sql); } @Override - public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_prepareStatement(this, connection, sql); } @@ -421,8 +409,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, - int autoGeneratedKeys) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int autoGeneratedKeys) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_prepareStatement(this, connection, sql, autoGeneratedKeys); } @@ -432,36 +419,29 @@ public class FilterChainImpl implements FilterChain { } @Override - public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_prepareStatement(this, connection, sql, resultSetType, resultSetConcurrency); } - PreparedStatement statement = connection.getConnectionRaw().prepareStatement(sql, resultSetType, - resultSetConcurrency); + PreparedStatement statement = connection.getConnectionRaw().prepareStatement(sql, resultSetType, resultSetConcurrency); return wrap(connection, statement, sql); } @Override - public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, + public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { if (this.pos < filterSize) { - return nextFilter().connection_prepareStatement(this, connection, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + return nextFilter().connection_prepareStatement(this, connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } - PreparedStatement statement = connection.getConnectionRaw().prepareStatement(sql, resultSetType, - resultSetConcurrency, - resultSetHoldability); + PreparedStatement statement = connection.getConnectionRaw().prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); return wrap(connection, statement, sql); } @Override - public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, - int[] columnIndexes) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, int[] columnIndexes) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_prepareStatement(this, connection, sql, columnIndexes); } @@ -471,8 +451,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, - String[] columnNames) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(ConnectionProxy connection, String sql, String[] columnNames) throws SQLException { if (this.pos < filterSize) { return nextFilter().connection_prepareStatement(this, connection, sql, columnNames); } @@ -532,8 +511,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void connection_setClientInfo(ConnectionProxy connection, Properties properties) - throws SQLClientInfoException { + public void connection_setClientInfo(ConnectionProxy connection, Properties properties) throws SQLClientInfoException { if (this.pos < filterSize) { nextFilter().connection_setClientInfo(this, connection, properties); return; @@ -543,8 +521,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void connection_setClientInfo(ConnectionProxy connection, String name, String value) - throws SQLClientInfoException { + public void connection_setClientInfo(ConnectionProxy connection, String name, String value) throws SQLClientInfoException { if (this.pos < filterSize) { nextFilter().connection_setClientInfo(this, connection, name, value); return; @@ -755,8 +732,7 @@ public class FilterChainImpl implements FilterChain { @SuppressWarnings("deprecation") @Override - public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, int columnIndex) - throws SQLException { + public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, int columnIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getUnicodeStream(this, resultSet, columnIndex); } @@ -837,8 +813,7 @@ public class FilterChainImpl implements FilterChain { @SuppressWarnings("deprecation") @Override - public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel, int scale) - throws SQLException { + public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel, int scale) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getBigDecimal(this, resultSet, columnLabel, scale); } @@ -878,8 +853,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException { + public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getAsciiStream(this, resultSet, columnLabel); } @@ -888,8 +862,7 @@ public class FilterChainImpl implements FilterChain { @SuppressWarnings("deprecation") @Override - public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException { + public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getUnicodeStream(this, resultSet, columnLabel); } @@ -897,8 +870,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException { + public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getBinaryStream(this, resultSet, columnLabel); } @@ -971,8 +943,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException { + public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getCharacterStream(this, resultSet, columnLabel); } @@ -1285,8 +1256,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateTimestamp(ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) - throws SQLException { + public void resultSet_updateTimestamp(ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateTimestamp(this, resultSet, columnIndex, x); return; @@ -1295,8 +1265,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) - throws SQLException { + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateAsciiStream(this, resultSet, columnIndex, x, length); return; @@ -1305,8 +1274,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - int length) throws SQLException { + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBinaryStream(this, resultSet, columnIndex, x, length); return; @@ -1315,8 +1283,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) - throws SQLException { + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateCharacterStream(this, resultSet, columnIndex, x, length); return; @@ -1325,8 +1292,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) - throws SQLException { + public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateObject(this, resultSet, columnIndex, x, scaleOrLength); return; @@ -1416,8 +1382,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBigDecimal(ResultSetProxy resultSet, String columnLabel, BigDecimal x) - throws SQLException { + public void resultSet_updateBigDecimal(ResultSetProxy resultSet, String columnLabel, BigDecimal x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBigDecimal(this, resultSet, columnLabel, x); return; @@ -1462,8 +1427,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateTimestamp(ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) - throws SQLException { + public void resultSet_updateTimestamp(ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateTimestamp(this, resultSet, columnLabel, x); return; @@ -1472,8 +1436,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - int length) throws SQLException { + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateAsciiStream(this, resultSet, columnLabel, x, length); return; @@ -1482,8 +1445,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - int length) throws SQLException { + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBinaryStream(this, resultSet, columnLabel, x, length); return; @@ -1492,8 +1454,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - int length) throws SQLException { + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateCharacterStream(this, resultSet, columnLabel, reader, length); return; @@ -1502,8 +1463,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) - throws SQLException { + public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateObject(this, resultSet, columnLabel, x, scaleOrLength); return; @@ -1592,8 +1552,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex, java.util.Map> map) - throws SQLException { + public Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex, java.util.Map> map) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getObject(this, resultSet, columnIndex, map); } @@ -1639,8 +1598,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel, java.util.Map> map) - throws SQLException { + public Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel, java.util.Map> map) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getObject(this, resultSet, columnLabel, map); } @@ -1691,8 +1649,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException { + public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getDate(this, resultSet, columnLabel, cal); } @@ -1708,8 +1665,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException { + public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getTime(this, resultSet, columnLabel, cal); } @@ -1717,8 +1673,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex, Calendar cal) - throws SQLException { + public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getTimestamp(this, resultSet, columnIndex, cal); } @@ -1726,8 +1681,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException { + public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getTimestamp(this, resultSet, columnLabel, cal); } @@ -1814,8 +1768,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateArray(ResultSetProxy resultSet, String columnLabel, java.sql.Array x) - throws SQLException { + public void resultSet_updateArray(ResultSetProxy resultSet, String columnLabel, java.sql.Array x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateArray(this, resultSet, columnLabel, x); return; @@ -1883,8 +1836,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNString(ResultSetProxy resultSet, String columnLabel, String nString) - throws SQLException { + public void resultSet_updateNString(ResultSetProxy resultSet, String columnLabel, String nString) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNString(this, resultSet, columnLabel, nString); return; @@ -1959,8 +1911,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateSQLXML(ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) - throws SQLException { + public void resultSet_updateSQLXML(ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateSQLXML(this, resultSet, columnLabel, xmlObject); return; @@ -1993,8 +1944,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException { + public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getNCharacterStream(this, resultSet, columnLabel); } @@ -2002,8 +1952,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, - long length) throws SQLException { + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNCharacterStream(this, resultSet, columnIndex, x, length); return; @@ -2012,8 +1961,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - long length) throws SQLException { + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNCharacterStream(this, resultSet, columnLabel, reader, length); return; @@ -2022,8 +1970,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - long length) throws SQLException { + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateAsciiStream(this, resultSet, columnIndex, x, length); return; @@ -2032,8 +1979,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - long length) throws SQLException { + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBinaryStream(this, resultSet, columnIndex, x, length); return; @@ -2042,8 +1988,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) - throws SQLException { + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateCharacterStream(this, resultSet, columnIndex, x, length); return; @@ -2052,8 +1997,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - long length) throws SQLException { + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateAsciiStream(this, resultSet, columnLabel, x, length); return; @@ -2062,8 +2006,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - long length) throws SQLException { + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBinaryStream(this, resultSet, columnLabel, x, length); return; @@ -2072,8 +2015,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - long length) throws SQLException { + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateCharacterStream(this, resultSet, columnLabel, reader, length); return; @@ -2082,8 +2024,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) - throws SQLException { + public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBlob(this, resultSet, columnIndex, inputStream, length); return; @@ -2092,8 +2033,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) - throws SQLException { + public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBlob(this, resultSet, columnLabel, inputStream, length); return; @@ -2102,8 +2042,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException { + public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateClob(this, resultSet, columnIndex, reader, length); return; @@ -2112,8 +2051,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) - throws SQLException { + public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateClob(this, resultSet, columnLabel, reader, length); return; @@ -2122,8 +2060,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException { + public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNClob(this, resultSet, columnIndex, reader, length); return; @@ -2132,8 +2069,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) - throws SQLException { + public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNClob(this, resultSet, columnLabel, reader, length); return; @@ -2142,8 +2078,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException { + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNCharacterStream(this, resultSet, columnIndex, x); return; @@ -2152,8 +2087,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) - throws SQLException { + public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateNCharacterStream(this, resultSet, columnLabel, reader); return; @@ -2162,8 +2096,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException { + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateAsciiStream(this, resultSet, columnIndex, x); return; @@ -2172,8 +2105,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException { + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBinaryStream(this, resultSet, columnIndex, x); return; @@ -2182,8 +2114,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException { + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateCharacterStream(this, resultSet, columnIndex, x); return; @@ -2192,8 +2123,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) - throws SQLException { + public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateAsciiStream(this, resultSet, columnLabel, x); return; @@ -2202,8 +2132,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) - throws SQLException { + public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBinaryStream(this, resultSet, columnLabel, x); return; @@ -2212,8 +2141,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) - throws SQLException { + public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateCharacterStream(this, resultSet, columnLabel, reader); return; @@ -2222,8 +2150,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream) - throws SQLException { + public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBlob(this, resultSet, columnIndex, inputStream); return; @@ -2232,8 +2159,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream) - throws SQLException { + public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateBlob(this, resultSet, columnLabel, inputStream); return; @@ -2285,7 +2211,7 @@ public class FilterChainImpl implements FilterChain { } ResultSet resultSet = statement.getStatementRaw().executeQuery(sql); - + if (resultSet == null) { return null; } @@ -2420,11 +2346,11 @@ public class FilterChainImpl implements FilterChain { } ResultSet resultSet = statement.getStatementRaw().getResultSet(); - + if (resultSet == null) { return null; } - + return wrap(statement, resultSet); } @@ -2648,8 +2574,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType) - throws SQLException { + public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNull(this, statement, parameterIndex, sqlType); return; @@ -2658,8 +2583,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBoolean(PreparedStatementProxy statement, int parameterIndex, boolean x) - throws SQLException { + public void preparedStatement_setBoolean(PreparedStatementProxy statement, int parameterIndex, boolean x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBoolean(this, statement, parameterIndex, x); return; @@ -2668,8 +2592,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setByte(PreparedStatementProxy statement, int parameterIndex, byte x) - throws SQLException { + public void preparedStatement_setByte(PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setByte(this, statement, parameterIndex, x); return; @@ -2678,8 +2601,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setShort(PreparedStatementProxy statement, int parameterIndex, short x) - throws SQLException { + public void preparedStatement_setShort(PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setShort(this, statement, parameterIndex, x); return; @@ -2688,8 +2610,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setInt(PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException { + public void preparedStatement_setInt(PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setInt(this, statement, parameterIndex, x); return; @@ -2698,8 +2619,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setLong(PreparedStatementProxy statement, int parameterIndex, long x) - throws SQLException { + public void preparedStatement_setLong(PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setLong(this, statement, parameterIndex, x); return; @@ -2708,8 +2628,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setFloat(PreparedStatementProxy statement, int parameterIndex, float x) - throws SQLException { + public void preparedStatement_setFloat(PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setFloat(this, statement, parameterIndex, x); return; @@ -2718,8 +2637,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setDouble(PreparedStatementProxy statement, int parameterIndex, double x) - throws SQLException { + public void preparedStatement_setDouble(PreparedStatementProxy statement, int parameterIndex, double x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setDouble(this, statement, parameterIndex, x); return; @@ -2728,8 +2646,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBigDecimal(PreparedStatementProxy statement, int parameterIndex, BigDecimal x) - throws SQLException { + public void preparedStatement_setBigDecimal(PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBigDecimal(this, statement, parameterIndex, x); return; @@ -2738,8 +2655,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setString(PreparedStatementProxy statement, int parameterIndex, String x) - throws SQLException { + public void preparedStatement_setString(PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setString(this, statement, parameterIndex, x); return; @@ -2748,8 +2664,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBytes(PreparedStatementProxy statement, int parameterIndex, byte x[]) - throws SQLException { + public void preparedStatement_setBytes(PreparedStatementProxy statement, int parameterIndex, byte x[]) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBytes(this, statement, parameterIndex, x); return; @@ -2758,8 +2673,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) - throws SQLException { + public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setDate(this, statement, parameterIndex, x); return; @@ -2768,8 +2682,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) - throws SQLException { + public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setTime(this, statement, parameterIndex, x); return; @@ -2778,8 +2691,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x) throws SQLException { + public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setTimestamp(this, statement, parameterIndex, x); return; @@ -2788,8 +2700,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException { + public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setAsciiStream(this, statement, parameterIndex, x, length); return; @@ -2799,8 +2710,7 @@ public class FilterChainImpl implements FilterChain { @SuppressWarnings("deprecation") @Override - public void preparedStatement_setUnicodeStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException { + public void preparedStatement_setUnicodeStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setUnicodeStream(this, statement, parameterIndex, x, length); return; @@ -2809,8 +2719,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException { + public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBinaryStream(this, statement, parameterIndex, x, length); return; @@ -2828,8 +2737,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType) throws SQLException { + public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setObject(this, statement, parameterIndex, x, targetSqlType); return; @@ -2838,8 +2746,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x) - throws SQLException { + public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setObject(this, statement, parameterIndex, x); return; @@ -2865,8 +2772,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, int length) throws SQLException { + public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, int length) + throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setCharacterStream(this, statement, parameterIndex, reader, length); return; @@ -2875,8 +2782,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setRef(PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException { + public void preparedStatement_setRef(PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setRef(this, statement, parameterIndex, x); return; @@ -2885,8 +2791,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, Blob x) - throws SQLException { + public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBlob(this, statement, parameterIndex, x); return; @@ -2895,8 +2800,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Clob x) - throws SQLException { + public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setClob(this, statement, parameterIndex, x); return; @@ -2905,8 +2809,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setArray(PreparedStatementProxy statement, int parameterIndex, Array x) - throws SQLException { + public void preparedStatement_setArray(PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setArray(this, statement, parameterIndex, x); return; @@ -2923,8 +2826,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, - Calendar cal) throws SQLException { + public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setDate(this, statement, parameterIndex, x, cal); return; @@ -2933,8 +2835,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, - Calendar cal) throws SQLException { + public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setTime(this, statement, parameterIndex, x, cal); return; @@ -2943,8 +2844,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x, Calendar cal) throws SQLException { + public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setTimestamp(this, statement, parameterIndex, x, cal); return; @@ -2953,8 +2853,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType, - String typeName) throws SQLException { + public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNull(this, statement, parameterIndex, sqlType, typeName); return; @@ -2963,8 +2862,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setURL(PreparedStatementProxy statement, int parameterIndex, java.net.URL x) - throws SQLException { + public void preparedStatement_setURL(PreparedStatementProxy statement, int parameterIndex, java.net.URL x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setURL(this, statement, parameterIndex, x); return; @@ -2973,8 +2871,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public ParameterMetaData preparedStatement_getParameterMetaData(PreparedStatementProxy statement) - throws SQLException { + public ParameterMetaData preparedStatement_getParameterMetaData(PreparedStatementProxy statement) throws SQLException { if (this.pos < filterSize) { return nextFilter().preparedStatement_getParameterMetaData(this, statement); } @@ -2982,8 +2879,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setRowId(PreparedStatementProxy statement, int parameterIndex, RowId x) - throws SQLException { + public void preparedStatement_setRowId(PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setRowId(this, statement, parameterIndex, x); return; @@ -2992,8 +2888,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNString(PreparedStatementProxy statement, int parameterIndex, String value) - throws SQLException { + public void preparedStatement_setNString(PreparedStatementProxy statement, int parameterIndex, String value) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNString(this, statement, parameterIndex, value); return; @@ -3002,8 +2897,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, - Reader value, long length) throws SQLException { + public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNCharacterStream(this, statement, parameterIndex, value, length); return; @@ -3012,8 +2906,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, NClob value) - throws SQLException { + public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, NClob value) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNClob(this, statement, parameterIndex, value); return; @@ -3022,8 +2915,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, - long length) throws SQLException { + public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setClob(this, statement, parameterIndex, reader, length); return; @@ -3032,8 +2924,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream, long length) throws SQLException { + public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBlob(this, statement, parameterIndex, inputStream, length); return; @@ -3042,8 +2933,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, - long length) throws SQLException { + public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNClob(this, statement, parameterIndex, reader, length); return; @@ -3052,8 +2942,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setSQLXML(PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) - throws SQLException { + public void preparedStatement_setSQLXML(PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setSQLXML(this, statement, parameterIndex, xmlObject); return; @@ -3062,8 +2951,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType, int scaleOrLength) throws SQLException { + public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, int scaleOrLength) + throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setObject(this, statement, parameterIndex, x, targetSqlType, scaleOrLength); return; @@ -3072,8 +2961,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException { + public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setAsciiStream(this, statement, parameterIndex, x, length); return; @@ -3082,8 +2970,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException { + public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBinaryStream(this, statement, parameterIndex, x, length); return; @@ -3092,8 +2979,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, long length) throws SQLException { + public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, long length) + throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setCharacterStream(this, statement, parameterIndex, reader, length); return; @@ -3102,8 +2989,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException { + public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setAsciiStream(this, statement, parameterIndex, x); return; @@ -3112,8 +2998,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException { + public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBinaryStream(this, statement, parameterIndex, x); return; @@ -3122,8 +3007,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader) throws SQLException { + public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setCharacterStream(this, statement, parameterIndex, reader); return; @@ -3132,8 +3016,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value) - throws SQLException { + public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNCharacterStream(this, statement, parameterIndex, value); return; @@ -3142,8 +3025,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) - throws SQLException { + public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setClob(this, statement, parameterIndex, reader); return; @@ -3152,8 +3034,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) - throws SQLException { + public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setBlob(this, statement, parameterIndex, inputStream); return; @@ -3162,8 +3043,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) - throws SQLException { + public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().preparedStatement_setNClob(this, statement, parameterIndex, reader); return; @@ -3174,8 +3054,7 @@ public class FilterChainImpl implements FilterChain { // ///////////////////////////////////// @Override - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType) - throws SQLException { + public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_registerOutParameter(this, statement, parameterIndex, sqlType); return; @@ -3184,8 +3063,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, - int sqlType, int scale) throws SQLException { + public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType, int scale) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_registerOutParameter(this, statement, parameterIndex, sqlType, scale); return; @@ -3210,8 +3088,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public boolean callableStatement_getBoolean(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public boolean callableStatement_getBoolean(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBoolean(this, statement, parameterIndex); } @@ -3268,8 +3145,7 @@ public class FilterChainImpl implements FilterChain { @SuppressWarnings("deprecation") @Override - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex, int scale) - throws SQLException { + public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex, int scale) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBigDecimal(this, statement, parameterIndex, scale); } @@ -3285,8 +3161,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getDate(this, statement, parameterIndex); } @@ -3294,8 +3169,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterIndex); } @@ -3303,8 +3177,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterIndex); } @@ -3320,8 +3193,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBigDecimal(this, statement, parameterIndex); } @@ -3329,8 +3201,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex, - java.util.Map> map) throws SQLException { + public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex, java.util.Map> map) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getObject(this, statement, parameterIndex, map); } @@ -3373,8 +3244,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex, Calendar cal) - throws SQLException { + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getDate(this, statement, parameterIndex, cal); } @@ -3382,8 +3252,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) - throws SQLException { + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterIndex, cal); } @@ -3391,8 +3260,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, - Calendar cal) throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterIndex, cal); } @@ -3400,8 +3268,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException { + public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType, String typeName) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_registerOutParameter(this, statement, parameterIndex, sqlType, typeName); return; @@ -3410,8 +3277,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType) throws SQLException { + public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_registerOutParameter(this, statement, parameterName, sqlType); return; @@ -3420,8 +3286,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType, int scale) throws SQLException { + public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType, int scale) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_registerOutParameter(this, statement, parameterName, sqlType, scale); return; @@ -3430,8 +3295,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType, String typeName) throws SQLException { + public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType, String typeName) + throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_registerOutParameter(this, statement, parameterName, sqlType, typeName); return; @@ -3440,8 +3305,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.net.URL callableStatement_getURL(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.net.URL callableStatement_getURL(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getURL(this, statement, parameterIndex); } @@ -3449,8 +3313,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setURL(CallableStatementProxy statement, String parameterName, java.net.URL val) - throws SQLException { + public void callableStatement_setURL(CallableStatementProxy statement, String parameterName, java.net.URL val) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setURL(this, statement, parameterName, val); return; @@ -3459,8 +3322,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType) - throws SQLException { + public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNull(this, statement, parameterName, sqlType); return; @@ -3469,8 +3331,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBoolean(CallableStatementProxy statement, String parameterName, boolean x) - throws SQLException { + public void callableStatement_setBoolean(CallableStatementProxy statement, String parameterName, boolean x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBoolean(this, statement, parameterName, x); return; @@ -3479,8 +3340,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setByte(CallableStatementProxy statement, String parameterName, byte x) - throws SQLException { + public void callableStatement_setByte(CallableStatementProxy statement, String parameterName, byte x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setByte(this, statement, parameterName, x); } @@ -3488,8 +3348,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setShort(CallableStatementProxy statement, String parameterName, short x) - throws SQLException { + public void callableStatement_setShort(CallableStatementProxy statement, String parameterName, short x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setShort(this, statement, parameterName, x); return; @@ -3498,8 +3357,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setInt(CallableStatementProxy statement, String parameterName, int x) - throws SQLException { + public void callableStatement_setInt(CallableStatementProxy statement, String parameterName, int x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setInt(this, statement, parameterName, x); return; @@ -3508,8 +3366,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setLong(CallableStatementProxy statement, String parameterName, long x) - throws SQLException { + public void callableStatement_setLong(CallableStatementProxy statement, String parameterName, long x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setLong(this, statement, parameterName, x); return; @@ -3518,8 +3375,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setFloat(CallableStatementProxy statement, String parameterName, float x) - throws SQLException { + public void callableStatement_setFloat(CallableStatementProxy statement, String parameterName, float x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setFloat(this, statement, parameterName, x); return; @@ -3528,8 +3384,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setDouble(CallableStatementProxy statement, String parameterName, double x) - throws SQLException { + public void callableStatement_setDouble(CallableStatementProxy statement, String parameterName, double x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setDouble(this, statement, parameterName, x); return; @@ -3538,8 +3393,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBigDecimal(CallableStatementProxy statement, String parameterName, BigDecimal x) - throws SQLException { + public void callableStatement_setBigDecimal(CallableStatementProxy statement, String parameterName, BigDecimal x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBigDecimal(this, statement, parameterName, x); return; @@ -3548,8 +3402,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setString(CallableStatementProxy statement, String parameterName, String x) - throws SQLException { + public void callableStatement_setString(CallableStatementProxy statement, String parameterName, String x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setString(this, statement, parameterName, x); return; @@ -3558,8 +3411,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBytes(CallableStatementProxy statement, String parameterName, byte x[]) - throws SQLException { + public void callableStatement_setBytes(CallableStatementProxy statement, String parameterName, byte x[]) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBytes(this, statement, parameterName, x); return; @@ -3568,8 +3420,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x) - throws SQLException { + public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setDate(this, statement, parameterName, x); return; @@ -3578,8 +3429,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x) - throws SQLException { + public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setTime(this, statement, parameterName, x); return; @@ -3588,8 +3438,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x) throws SQLException { + public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, java.sql.Timestamp x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setTimestamp(this, statement, parameterName, x); return; @@ -3598,8 +3447,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException { + public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setAsciiStream(this, statement, parameterName, x, length); return; @@ -3608,8 +3456,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException { + public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, int length) + throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBinaryStream(this, statement, parameterName, x, length); return; @@ -3618,8 +3466,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, - int targetSqlType, int scale) throws SQLException { + public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, int targetSqlType, int scale) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setObject(this, statement, parameterName, x, targetSqlType, scale); return; @@ -3628,8 +3475,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, - int targetSqlType) throws SQLException { + public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, int targetSqlType) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setObject(this, statement, parameterName, x, targetSqlType); return; @@ -3638,8 +3484,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x) - throws SQLException { + public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setObject(this, statement, parameterName, x); return; @@ -3648,8 +3493,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader, int length) throws SQLException { + public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, java.io.Reader reader, int length) + throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setCharacterStream(this, statement, parameterName, reader, length); return; @@ -3658,8 +3503,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x, - Calendar cal) throws SQLException { + public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x, Calendar cal) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setDate(this, statement, parameterName, x, cal); return; @@ -3668,8 +3512,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x, - Calendar cal) throws SQLException { + public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x, Calendar cal) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setTime(this, statement, parameterName, x, cal); return; @@ -3678,8 +3521,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x, Calendar cal) throws SQLException { + public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, java.sql.Timestamp x, Calendar cal) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setTimestamp(this, statement, parameterName, x, cal); return; @@ -3688,8 +3530,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType, - String typeName) throws SQLException { + public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType, String typeName) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNull(this, statement, parameterName, sqlType, typeName); return; @@ -3698,8 +3539,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public String callableStatement_getString(CallableStatementProxy statement, String parameterName) - throws SQLException { + public String callableStatement_getString(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getString(this, statement, parameterName); } @@ -3707,8 +3547,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public boolean callableStatement_getBoolean(CallableStatementProxy statement, String parameterName) - throws SQLException { + public boolean callableStatement_getBoolean(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBoolean(this, statement, parameterName); } @@ -3756,8 +3595,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public double callableStatement_getDouble(CallableStatementProxy statement, String parameterName) - throws SQLException { + public double callableStatement_getDouble(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getDouble(this, statement, parameterName); } @@ -3765,8 +3603,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) - throws SQLException { + public byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBytes(this, statement, parameterName); } @@ -3774,8 +3611,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName) - throws SQLException { + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getDate(this, statement, parameterName); } @@ -3783,8 +3619,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) - throws SQLException { + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterName); } @@ -3792,8 +3627,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) - throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterName); } @@ -3801,8 +3635,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName) - throws SQLException { + public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getObject(this, statement, parameterName); } @@ -3810,8 +3643,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, String parameterName) - throws SQLException { + public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBigDecimal(this, statement, parameterName); } @@ -3819,8 +3651,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName, - java.util.Map> map) throws SQLException { + public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName, java.util.Map> map) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getObject(this, statement, parameterName, map); } @@ -3863,8 +3694,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName, Calendar cal) - throws SQLException { + public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getDate(this, statement, parameterName, cal); } @@ -3872,8 +3702,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) - throws SQLException { + public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterName, cal); } @@ -3881,8 +3710,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, - Calendar cal) throws SQLException { + public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterName, cal); } @@ -3890,8 +3718,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.net.URL callableStatement_getURL(CallableStatementProxy statement, String parameterName) - throws SQLException { + public java.net.URL callableStatement_getURL(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getURL(this, statement, parameterName); } @@ -3915,8 +3742,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setRowId(CallableStatementProxy statement, String parameterName, RowId x) - throws SQLException { + public void callableStatement_setRowId(CallableStatementProxy statement, String parameterName, RowId x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setRowId(this, statement, parameterName, x); return; @@ -3925,8 +3751,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNString(CallableStatementProxy statement, String parameterName, String value) - throws SQLException { + public void callableStatement_setNString(CallableStatementProxy statement, String parameterName, String value) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNString(this, statement, parameterName, value); return; @@ -3935,8 +3760,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, - Reader value, long length) throws SQLException { + public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, Reader value, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNCharacterStream(this, statement, parameterName, value, length); return; @@ -3945,8 +3769,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, NClob value) - throws SQLException { + public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, NClob value) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNClob(this, statement, parameterName, value); return; @@ -3955,8 +3778,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader, - long length) throws SQLException { + public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setClob(this, statement, parameterName, reader, length); return; @@ -3965,8 +3787,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, - InputStream inputStream, long length) throws SQLException { + public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, InputStream inputStream, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBlob(this, statement, parameterName, inputStream, length); return; @@ -3975,8 +3796,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader, - long length) throws SQLException { + public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader, long length) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNClob(this, statement, parameterName, reader, length); return; @@ -4000,15 +3820,14 @@ public class FilterChainImpl implements FilterChain { if (this.pos < filterSize) { return nextFilter().callableStatement_getNClob(this, statement, parameterName); } - + NClob nclob = statement.getRawCallableStatement().getNClob(parameterName); return wrap(statement.getConnectionProxy(), nclob); } @Override - public void callableStatement_setSQLXML(CallableStatementProxy statement, String parameterName, SQLXML xmlObject) - throws SQLException { + public void callableStatement_setSQLXML(CallableStatementProxy statement, String parameterName, SQLXML xmlObject) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setSQLXML(this, statement, parameterName, xmlObject); return; @@ -4025,8 +3844,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, String parameterName) - throws SQLException { + public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getSQLXML(this, statement, parameterName); } @@ -4034,8 +3852,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public String callableStatement_getNString(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public String callableStatement_getNString(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getNString(this, statement, parameterIndex); } @@ -4043,8 +3860,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public String callableStatement_getNString(CallableStatementProxy statement, String parameterName) - throws SQLException { + public String callableStatement_getNString(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getNString(this, statement, parameterName); } @@ -4052,8 +3868,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getNCharacterStream(this, statement, parameterIndex); } @@ -4061,8 +3876,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, String parameterName) - throws SQLException { + public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getNCharacterStream(this, statement, parameterName); } @@ -4070,8 +3884,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getCharacterStream(this, statement, parameterIndex); } @@ -4079,8 +3892,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, String parameterName) - throws SQLException { + public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getCharacterStream(this, statement, parameterName); } @@ -4088,8 +3900,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, Blob x) - throws SQLException { + public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, Blob x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBlob(this, statement, parameterName, x); return; @@ -4098,8 +3909,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Clob x) - throws SQLException { + public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Clob x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setClob(this, statement, parameterName, x); return; @@ -4108,8 +3918,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException { + public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setAsciiStream(this, statement, parameterName, x, length); return; @@ -4118,8 +3928,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException { + public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x, long length) + throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBinaryStream(this, statement, parameterName, x, length); return; @@ -4128,8 +3938,8 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader, long length) throws SQLException { + public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, java.io.Reader reader, long length) + throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setCharacterStream(this, statement, parameterName, reader, length); return; @@ -4138,8 +3948,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException { + public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setAsciiStream(this, statement, parameterName, x); return; @@ -4148,8 +3957,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException { + public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBinaryStream(this, statement, parameterName, x); return; @@ -4158,8 +3966,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader) throws SQLException { + public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, java.io.Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setCharacterStream(this, statement, parameterName, reader); return; @@ -4168,8 +3975,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, - Reader value) throws SQLException { + public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, Reader value) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNCharacterStream(this, statement, parameterName, value); return; @@ -4178,8 +3984,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader) - throws SQLException { + public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setClob(this, statement, parameterName, reader); return; @@ -4188,8 +3993,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, - InputStream inputStream) throws SQLException { + public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, InputStream inputStream) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setBlob(this, statement, parameterName, inputStream); return; @@ -4198,8 +4002,7 @@ public class FilterChainImpl implements FilterChain { } @Override - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader) - throws SQLException { + public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader) throws SQLException { if (this.pos < filterSize) { nextFilter().callableStatement_setNClob(this, statement, parameterName, reader); return; @@ -4319,7 +4122,7 @@ public class FilterChainImpl implements FilterChain { if (connection == null) { return null; } - + return new ConnectionProxyImpl(dataSource, connection, info, createConnectionId()); } @@ -4327,7 +4130,7 @@ public class FilterChainImpl implements FilterChain { if (statement == null) { return null; } - + return new StatementProxyImpl(connection, statement, createStatementId()); } @@ -4335,7 +4138,7 @@ public class FilterChainImpl implements FilterChain { if (statement == null) { return null; } - + return new PreparedStatementProxyImpl(connection, statement, sql, createStatementId()); } @@ -4343,7 +4146,7 @@ public class FilterChainImpl implements FilterChain { if (statement == null) { return null; } - + return new CallableStatementProxyImpl(connection, statement, sql, createStatementId()); } @@ -4359,7 +4162,7 @@ public class FilterChainImpl implements FilterChain { if (clob == null) { return null; } - + return new ClobProxyImpl(dataSource, connection, clob); } @@ -4367,7 +4170,7 @@ public class FilterChainImpl implements FilterChain { if (nclob == null) { return null; } - + return new NClobProxyImpl(dataSource, connection, nclob); } diff --git a/src/main/java/com/alibaba/druid/filter/FilterEventAdapter.java b/src/main/java/com/alibaba/druid/filter/FilterEventAdapter.java index 301e5d5cdf..70da949017 100644 --- a/src/main/java/com/alibaba/druid/filter/FilterEventAdapter.java +++ b/src/main/java/com/alibaba/druid/filter/FilterEventAdapter.java @@ -77,8 +77,8 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency) throws SQLException { + public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency) + throws SQLException { StatementProxy statement = super.connection_createStatement(chain, connection, resultSetType, resultSetType); statementCreateAfter(statement); @@ -87,11 +87,9 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException { - StatementProxy statement = super.connection_createStatement(chain, connection, resultSetType, resultSetType, - resultSetHoldability); + public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException { + StatementProxy statement = super.connection_createStatement(chain, connection, resultSetType, resultSetType, resultSetHoldability); statementCreateAfter(statement); @@ -99,8 +97,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { CallableStatementProxy statement = super.connection_prepareCall(chain, connection, sql); statementPrepareCallAfter(statement); @@ -109,11 +106,9 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) - throws SQLException { - CallableStatementProxy statement = super.connection_prepareCall(chain, connection, sql, resultSetType, - resultSetConcurrency); + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException { + CallableStatementProxy statement = super.connection_prepareCall(chain, connection, sql, resultSetType, resultSetConcurrency); statementPrepareCallAfter(statement); @@ -121,11 +116,9 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - CallableStatementProxy statement = super.connection_prepareCall(chain, connection, sql, resultSetType, - resultSetConcurrency, resultSetHoldability); + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { + CallableStatementProxy statement = super.connection_prepareCall(chain, connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); statementPrepareCallAfter(statement); @@ -133,8 +126,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql); statementPrepareAfter(statement); @@ -143,8 +135,8 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int autoGeneratedKeys) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int autoGeneratedKeys) + throws SQLException { PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, autoGeneratedKeys); statementPrepareAfter(statement); @@ -153,11 +145,9 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { - PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, resultSetType, - resultSetConcurrency); + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency) throws SQLException { + PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, resultSetType, resultSetConcurrency); statementPrepareAfter(statement); @@ -165,11 +155,9 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, resultSetType, - resultSetConcurrency, resultSetHoldability); + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { + PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); statementPrepareAfter(statement); @@ -177,8 +165,8 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int[] columnIndexes) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int[] columnIndexes) + throws SQLException { PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, columnIndexes); statementPrepareAfter(statement); @@ -187,8 +175,8 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, String[] columnNames) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, String[] columnNames) + throws SQLException { PreparedStatementProxy statement = super.connection_prepareStatement(chain, connection, sql, columnNames); statementPrepareAfter(statement); @@ -219,8 +207,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { statementExecuteBefore(statement, sql); try { @@ -242,8 +229,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { statementExecuteBefore(statement, sql); try { @@ -265,8 +251,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { statementExecuteBefore(statement, sql); try { @@ -310,8 +295,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) - throws SQLException { + public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) throws SQLException { statementExecuteQueryBefore(statement, sql); try { @@ -356,8 +340,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { statementExecuteUpdateBefore(statement, sql); try { @@ -379,8 +362,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { statementExecuteUpdateBefore(statement, sql); try { @@ -402,8 +384,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { statementExecuteUpdateBefore(statement, sql); try { @@ -471,8 +452,7 @@ public abstract class FilterEventAdapter extends FilterAdapter { } @Override - public ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) throws SQLException { try { statementExecuteQueryBefore(statement, statement.getSql()); @@ -567,363 +547,326 @@ public abstract class FilterEventAdapter extends FilterAdapter { // //// @Override - public void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Array x) throws SQLException { + public void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.ARRAY, x); super.preparedStatement_setArray(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, InputStream x) throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.AsciiInputStream, x); super.preparedStatement_setAsciiStream(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, InputStream x, int length) throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x, int length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.AsciiInputStream, x, length); super.preparedStatement_setAsciiStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, InputStream x, long length) throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x, long length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.AsciiInputStream, x, length); super.preparedStatement_setAsciiStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, BigDecimal x) throws SQLException { + public void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.DECIMAL, x); super.preparedStatement_setBigDecimal(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, InputStream x) throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.BinaryInputStream, x); super.preparedStatement_setBinaryStream(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, InputStream x, int length) throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x, int length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.BinaryInputStream, x, length); super.preparedStatement_setBinaryStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, InputStream x, long length) throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x, long length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.BinaryInputStream, x, length); super.preparedStatement_setBinaryStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Blob x) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.BLOB, x); super.preparedStatement_setBlob(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream x) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.BLOB, x); super.preparedStatement_setBlob(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream x, long length) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream x, long length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.BLOB, x, length); super.preparedStatement_setBlob(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - boolean x) throws SQLException { + public void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, boolean x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.BOOLEAN, x); super.preparedStatement_setBoolean(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - byte x) throws SQLException { + public void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.TINYINT, x); super.preparedStatement_setByte(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - byte[] x) throws SQLException { + public void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte[] x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.BINARY, x); super.preparedStatement_setBytes(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader x) throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.CharacterInputStream, x); super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader x, int length) throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x, int length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.CharacterInputStream, x, length); super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader x, long length) throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x, long length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.CharacterInputStream, x, length); super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Clob x) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.CLOB, x); super.preparedStatement_setClob(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader x) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.CLOB, x); super.preparedStatement_setClob(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader x, long length) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x, long length) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.CLOB, x, length); super.preparedStatement_setClob(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Date x) throws SQLException { + public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Date x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.DATE, x); super.preparedStatement_setDate(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Date x, Calendar cal) throws SQLException { + public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Date x, Calendar cal) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.DATE, x, cal); super.preparedStatement_setDate(chain, statement, parameterIndex, x, cal); } @Override - public void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - double x) throws SQLException { + public void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, double x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.DOUBLE, x); super.preparedStatement_setDouble(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - float x) throws SQLException { + public void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.FLOAT, x); super.preparedStatement_setFloat(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException { + public void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.INTEGER, x); super.preparedStatement_setInt(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - long x) throws SQLException { + public void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.BIGINT, x); super.preparedStatement_setLong(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader x) throws SQLException { + public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.NCharacterInputStream, x); super.preparedStatement_setNCharacterStream(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader x, long length) throws SQLException { + public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x, long length) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.NCharacterInputStream, x, length); super.preparedStatement_setNCharacterStream(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - NClob x) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, NClob x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.NCLOB, x); super.preparedStatement_setNClob(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader x) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.NCLOB, x); super.preparedStatement_setNClob(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader x, long length) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader x, long length) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.NCLOB, x, length); super.preparedStatement_setNClob(chain, statement, parameterIndex, x, length); } @Override - public void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String x) throws SQLException { + public void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.NVARCHAR, x); super.preparedStatement_setNString(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType) throws SQLException { + public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.NULL); super.preparedStatement_setNull(chain, statement, parameterIndex, sqlType); } @Override - public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException { + public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.NULL, sqlType, typeName); super.preparedStatement_setNull(chain, statement, parameterIndex, sqlType, typeName); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.JAVA_OBJECT, x); super.preparedStatement_setObject(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.JAVA_OBJECT, x, targetSqlType); super.preparedStatement_setObject(chain, statement, parameterIndex, x, targetSqlType); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType, int scaleOrLength) throws SQLException { - preparedStatement_setParameterBefore(statement, parameterIndex, Types.JAVA_OBJECT, x, targetSqlType, - scaleOrLength); + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, + int scaleOrLength) throws SQLException { + preparedStatement_setParameterBefore(statement, parameterIndex, Types.JAVA_OBJECT, x, targetSqlType, scaleOrLength); super.preparedStatement_setObject(chain, statement, parameterIndex, x, targetSqlType, scaleOrLength); } @Override - public void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException { + public void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.REF, x); super.preparedStatement_setRef(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - RowId x) throws SQLException { + public void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.ROWID, x); super.preparedStatement_setRowId(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - SQLXML x) throws SQLException { + public void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, SQLXML x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.SQLXML, x); super.preparedStatement_setSQLXML(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - short x) throws SQLException { + public void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.SMALLINT, x); super.preparedStatement_setShort(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String x) throws SQLException { + public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.VARCHAR, x); super.preparedStatement_setString(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Time x) throws SQLException { + public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Time x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.TIME, x); super.preparedStatement_setTime(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Time x, Calendar cal) throws SQLException { + public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Time x, Calendar cal) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.TIME, x, cal); super.preparedStatement_setTime(chain, statement, parameterIndex, x, cal); } @Override - public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Timestamp x) throws SQLException { + public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Timestamp x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.TIMESTAMP, x); super.preparedStatement_setTimestamp(chain, statement, parameterIndex, x); } @Override - public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Timestamp x, Calendar cal) throws SQLException { + public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Timestamp x, Calendar cal) + throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, Types.TIMESTAMP, x, cal); super.preparedStatement_setTimestamp(chain, statement, parameterIndex, x, cal); } @Override - public void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, URL x) - throws SQLException { + public void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, URL x) throws SQLException { preparedStatement_setParameterBefore(statement, parameterIndex, TYPE.URL, x); super.preparedStatement_setURL(chain, statement, parameterIndex, x); } - protected void preparedStatement_setParameterBefore(PreparedStatementProxy statement, int parameterIndex, - int sqlType, Object... values) { + protected void preparedStatement_setParameterBefore(PreparedStatementProxy statement, int parameterIndex, int sqlType, Object... values) { } protected void statement_executeErrorAfter(StatementProxy statement, String sql, Throwable error) { diff --git a/src/main/java/com/alibaba/druid/filter/encoding/EncodingConvertFilter.java b/src/main/java/com/alibaba/druid/filter/encoding/EncodingConvertFilter.java index 37e329aedc..e5bb7321f9 100644 --- a/src/main/java/com/alibaba/druid/filter/encoding/EncodingConvertFilter.java +++ b/src/main/java/com/alibaba/druid/filter/encoding/EncodingConvertFilter.java @@ -67,8 +67,7 @@ public class EncodingConvertFilter extends FilterAdapter { param.setServerEncoding(serverEncoding); } conn.getAttributes().put(ATTR_CHARSET_PARAMETER, param); - conn.getAttributes().put(ATTR_CHARSET_CONVERTER, - new CharsetConvert(param.getClientEncoding(), param.getServerEncoding())); + conn.getAttributes().put(ATTR_CHARSET_CONVERTER, new CharsetConvert(param.getClientEncoding(), param.getServerEncoding())); return conn; } @@ -92,8 +91,7 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, int columnIndex, - java.util.Map> map) throws SQLException { + public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, int columnIndex, java.util.Map> map) throws SQLException { Object value = super.resultSet_getObject(chain, result, columnIndex, map); return decodeObject(result.getStatementProxy().getConnectionProxy(), value); } @@ -105,8 +103,7 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, String columnLabel, - java.util.Map> map) throws SQLException { + public Object resultSet_getObject(FilterChain chain, ResultSetProxy result, String columnLabel, java.util.Map> map) throws SQLException { Object value = super.resultSet_getObject(chain, result, columnLabel, map); return decodeObject(result.getStatementProxy().getConnectionProxy(), value); } @@ -149,67 +146,57 @@ public class EncodingConvertFilter extends FilterAdapter { // //////////////// Connection @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { return super.connection_prepareStatement(chain, connection, encode(connection, sql)); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int autoGeneratedKeys) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int autoGeneratedKeys) + throws SQLException { return super.connection_prepareStatement(chain, connection, encode(connection, sql), autoGeneratedKeys); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { - return super.connection_prepareStatement(chain, connection, encode(connection, sql), resultSetType, - resultSetConcurrency); + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency) throws SQLException { + return super.connection_prepareStatement(chain, connection, encode(connection, sql), resultSetType, resultSetConcurrency); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - return super.connection_prepareStatement(chain, connection, encode(connection, sql), resultSetType, - resultSetConcurrency, resultSetHoldability); + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { + return super.connection_prepareStatement(chain, connection, encode(connection, sql), resultSetType, resultSetConcurrency, resultSetHoldability); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int[] columnIndexes) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int[] columnIndexes) + throws SQLException { return super.connection_prepareStatement(chain, connection, encode(connection, sql), columnIndexes); } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, String[] columnNames) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, String[] columnNames) + throws SQLException { return super.connection_prepareStatement(chain, connection, encode(connection, sql), columnNames); } // / precall @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { return super.connection_prepareCall(chain, connection, encode(connection, sql)); } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) - throws SQLException { - return super.connection_prepareCall(chain, connection, encode(connection, sql), resultSetType, - resultSetConcurrency); + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException { + return super.connection_prepareCall(chain, connection, encode(connection, sql), resultSetType, resultSetConcurrency); } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - return super.connection_prepareCall(chain, connection, encode(connection, sql), resultSetType, - resultSetConcurrency, resultSetHoldability); + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { + return super.connection_prepareCall(chain, connection, encode(connection, sql), resultSetType, resultSetConcurrency, resultSetHoldability); } // nativeSQL @@ -233,26 +220,22 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { return super.statement_execute(chain, statement, encode(statement.getConnectionProxy(), sql), autoGeneratedKeys); } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { return super.statement_execute(chain, statement, encode(statement.getConnectionProxy(), sql), columnIndexes); } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { return super.statement_execute(chain, statement, encode(statement.getConnectionProxy(), sql), columnNames); } @Override - public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) - throws SQLException { + public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) throws SQLException { return super.statement_executeQuery(chain, statement, encode(statement.getConnectionProxy(), sql)); } @@ -262,64 +245,53 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { - return super.statement_executeUpdate(chain, statement, encode(statement.getConnectionProxy(), sql), - autoGeneratedKeys); + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { + return super.statement_executeUpdate(chain, statement, encode(statement.getConnectionProxy(), sql), autoGeneratedKeys); } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { - return super.statement_executeUpdate(chain, statement, encode(statement.getConnectionProxy(), sql), - columnIndexes); + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { + return super.statement_executeUpdate(chain, statement, encode(statement.getConnectionProxy(), sql), columnIndexes); } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { return super.statement_executeUpdate(chain, statement, encode(statement.getConnectionProxy(), sql), columnNames); } // ========== preparedStatement @Override - public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String x) throws SQLException { + public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException { super.preparedStatement_setString(chain, statement, parameterIndex, encode(statement.getConnectionProxy(), x)); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader) throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader) + throws SQLException { String text = JdbcUtils.read(reader); String encodedText = encode(statement.getConnectionProxy(), text); super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, new StringReader(encodedText)); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader, int length) - throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, int length) + throws SQLException { String text = JdbcUtils.read(reader, length); String encodedText = encode(statement.getConnectionProxy(), text); - super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, new StringReader(encodedText), - encodedText.length()); + super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, new StringReader(encodedText), encodedText.length()); } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader, long length) - throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, long length) + throws SQLException { String text = JdbcUtils.read(reader, (int) length); String encodedText = encode(statement.getConnectionProxy(), text); - super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, new StringReader(encodedText), - encodedText.length()); + super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, new StringReader(encodedText), encodedText.length()); } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException { if (x instanceof String) { String encodedText = encode(statement.getConnectionProxy(), (String) x); super.preparedStatement_setObject(chain, statement, parameterIndex, encodedText); @@ -333,33 +305,30 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) + throws SQLException { if (x instanceof String) { String encodedText = encode(statement.getConnectionProxy(), (String) x); super.preparedStatement_setObject(chain, statement, parameterIndex, encodedText, targetSqlType); } else if (x instanceof Reader) { String text = JdbcUtils.read((Reader) x); String encodedText = encode(statement.getConnectionProxy(), text); - super.preparedStatement_setObject(chain, statement, parameterIndex, new StringReader(encodedText), - targetSqlType); + super.preparedStatement_setObject(chain, statement, parameterIndex, new StringReader(encodedText), targetSqlType); } else { super.preparedStatement_setObject(chain, statement, parameterIndex, x, targetSqlType); } } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType, int scaleOrLength) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, + int scaleOrLength) throws SQLException { if (x instanceof String) { String encodedText = encode(statement.getConnectionProxy(), (String) x); - super.preparedStatement_setObject(chain, statement, parameterIndex, encodedText, targetSqlType, - scaleOrLength); + super.preparedStatement_setObject(chain, statement, parameterIndex, encodedText, targetSqlType, scaleOrLength); } else if (x instanceof Reader) { String text = JdbcUtils.read((Reader) x); String encodedText = encode(statement.getConnectionProxy(), text); - super.preparedStatement_setObject(chain, statement, parameterIndex, new StringReader(encodedText), - targetSqlType, scaleOrLength); + super.preparedStatement_setObject(chain, statement, parameterIndex, new StringReader(encodedText), targetSqlType, scaleOrLength); } else { super.preparedStatement_setObject(chain, statement, parameterIndex, x, targetSqlType, scaleOrLength); } @@ -386,8 +355,7 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public Reader clob_getCharacterStream(FilterChain chain, ClobProxy wrapper, long pos, long length) - throws SQLException { + public Reader clob_getCharacterStream(FilterChain chain, ClobProxy wrapper, long pos, long length) throws SQLException { Reader reader = super.clob_getCharacterStream(chain, wrapper, pos, length); String text = JdbcUtils.read(reader); return new StringReader(decode(wrapper.getConnectionWrapper(), text)); @@ -399,25 +367,23 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str, int offset, int len) - throws SQLException { + public int clob_setString(FilterChain chain, ClobProxy wrapper, long pos, String str, int offset, int len) throws SQLException { return chain.clob_setString(wrapper, pos, encode(wrapper.getConnectionWrapper(), str), offset, len); } // ///////////// callableStatement_ @Override - public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader) throws SQLException { + public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader) + throws SQLException { String text = JdbcUtils.read(reader); Reader encodeReader = new StringReader(encode(statement.getConnectionProxy(), text)); super.callableStatement_setCharacterStream(chain, statement, parameterName, encodeReader); } @Override - public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader, int length) - throws SQLException { + public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader, + int length) throws SQLException { String text = JdbcUtils.read(reader, length); String encodeText = encode(statement.getConnectionProxy(), text); Reader encodeReader = new StringReader(encodeText); @@ -425,25 +391,21 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.io.Reader reader, long length) - throws SQLException { + public void callableStatement_setCharacterStream(FilterChain chain, CallableStatementProxy statement, String parameterName, java.io.Reader reader, + long length) throws SQLException { String text = JdbcUtils.read(reader, (int) length); String encodeText = encode(statement.getConnectionProxy(), text); Reader encodeReader = new StringReader(encodeText); - super.callableStatement_setCharacterStream(chain, statement, parameterName, encodeReader, - (long) encodeText.length()); + super.callableStatement_setCharacterStream(chain, statement, parameterName, encodeReader, (long) encodeText.length()); } @Override - public void callableStatement_setString(FilterChain chain, CallableStatementProxy statement, String parameterName, - String x) throws SQLException { + public void callableStatement_setString(FilterChain chain, CallableStatementProxy statement, String parameterName, String x) throws SQLException { super.callableStatement_setString(chain, statement, parameterName, encode(statement.getConnectionProxy(), x)); } @Override - public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x) throws SQLException { + public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x) throws SQLException { if (x instanceof String) { String encodedText = encode(statement.getConnectionProxy(), (String) x); super.callableStatement_setObject(chain, statement, parameterName, encodedText); @@ -457,76 +419,69 @@ public class EncodingConvertFilter extends FilterAdapter { } @Override - public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x, int targetSqlType) throws SQLException { + public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x, int targetSqlType) + throws SQLException { if (x instanceof String) { String encodedText = encode(statement.getConnectionProxy(), (String) x); super.callableStatement_setObject(chain, statement, parameterName, encodedText, targetSqlType); } else if (x instanceof Reader) { String text = JdbcUtils.read((Reader) x); String encodedText = encode(statement.getConnectionProxy(), text); - super.callableStatement_setObject(chain, statement, parameterName, new StringReader(encodedText), - targetSqlType); + super.callableStatement_setObject(chain, statement, parameterName, new StringReader(encodedText), targetSqlType); } else { super.callableStatement_setObject(chain, statement, parameterName, x, targetSqlType); } } @Override - public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, - Object x, int targetSqlType, int scale) throws SQLException { + public void callableStatement_setObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Object x, int targetSqlType, int scale) + throws SQLException { if (x instanceof String) { String encodedText = encode(statement.getConnectionProxy(), (String) x); super.callableStatement_setObject(chain, statement, parameterName, encodedText, targetSqlType, scale); } else if (x instanceof Reader) { String text = JdbcUtils.read((Reader) x); String encodedText = encode(statement.getConnectionProxy(), text); - super.callableStatement_setObject(chain, statement, parameterName, new StringReader(encodedText), - targetSqlType, scale); + super.callableStatement_setObject(chain, statement, parameterName, new StringReader(encodedText), targetSqlType, scale); } else { super.callableStatement_setObject(chain, statement, parameterName, x, targetSqlType, scale); } } @Override - public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { String value = super.callableStatement_getString(chain, statement, parameterIndex); return decode(statement.getConnectionProxy(), value); } @Override - public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public String callableStatement_getString(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { String value = super.callableStatement_getString(chain, statement, parameterName); return decode(statement.getConnectionProxy(), value); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) - throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException { Object value = chain.callableStatement_getObject(statement, parameterIndex); return decodeObject(statement.getConnectionProxy(), value); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, - java.util.Map> map) throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, java.util.Map> map) + throws SQLException { Object value = chain.callableStatement_getObject(statement, parameterIndex, map); return decodeObject(statement.getConnectionProxy(), value); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) - throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException { Object value = chain.callableStatement_getObject(statement, parameterName); return decodeObject(statement.getConnectionProxy(), value); } @Override - public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, - String parameterName, java.util.Map> map) - throws SQLException { + public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName, java.util.Map> map) + throws SQLException { Object value = chain.callableStatement_getObject(statement, parameterName, map); return decodeObject(statement.getConnectionProxy(), value); } diff --git a/src/main/java/com/alibaba/druid/filter/logging/LogFilter.java b/src/main/java/com/alibaba/druid/filter/logging/LogFilter.java index f2e8be6bc3..210f720784 100644 --- a/src/main/java/com/alibaba/druid/filter/logging/LogFilter.java +++ b/src/main/java/com/alibaba/druid/filter/logging/LogFilter.java @@ -341,8 +341,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM @Override protected void statementExecuteAfter(StatementProxy statement, String sql, boolean firstResult) { if (statementExecuteAfterLogEnable && isStatementLogEnabled()) { - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + "} executed. " - + sql); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + "} executed. " + sql); } } @@ -356,8 +355,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM sql = statement.getBatchSql(); } - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) - + "} batch executed. " + sql); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + "} batch executed. " + sql); } } @@ -373,8 +371,8 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM @Override protected void statementExecuteQueryAfter(StatementProxy statement, String sql, ResultSetProxy resultSet) { if (statementExecuteQueryAfterLogEnable && isStatementLogEnabled()) { - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + ", rs-" - + resultSet.getId() + "} query executed. " + sql); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + ", rs-" + resultSet.getId() + "} query executed. " + + sql); } } @@ -390,8 +388,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM @Override protected void statementExecuteUpdateAfter(StatementProxy statement, String sql, int updateCount) { if (statementExecuteUpdateAfterLogEnable && isStatementLogEnabled()) { - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) - + "} update executed. effort " + updateCount + ". " + sql); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + "} update executed. effort " + updateCount + ". " + sql); } } @@ -485,30 +482,26 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM protected void statementCreateAfter(StatementProxy statement) { if (statementCreateAfterLogEnable && isStatementLogEnabled()) { - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", stmt-" + statement.getId() - + "} created"); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", stmt-" + statement.getId() + "} created"); } } protected void statementPrepareAfter(PreparedStatementProxy statement) { if (statementPrepareAfterLogEnable && isStatementLogEnabled()) { - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", pstmt-" + statement.getId() - + "} created. " + statement.getSql()); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", pstmt-" + statement.getId() + "} created. " + statement.getSql()); } } protected void statementPrepareCallAfter(CallableStatementProxy statement) { if (statementPrepareCallAfterLogEnable && isStatementLogEnabled()) { - statementLog("{conn-" + statement.getConnectionProxy().getId() + ", cstmt-" + statement.getId() - + "} created. " + statement.getSql()); + statementLog("{conn-" + statement.getConnectionProxy().getId() + ", cstmt-" + statement.getId() + "} created. " + statement.getSql()); } } @Override protected void statement_executeErrorAfter(StatementProxy statement, String sql, Throwable error) { if (this.isStatementLogErrorEnabled()) { - statementLogError("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) - + "} execute error. " + sql, error); + statementLogError("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement) + "} execute error. " + sql, error); } } @@ -530,8 +523,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM return buf.toString(); } - protected void preparedStatement_setParameterBefore(PreparedStatementProxy statement, int parameterIndex, - int sqlType, Object... values) { + protected void preparedStatement_setParameterBefore(PreparedStatementProxy statement, int parameterIndex, int sqlType, Object... values) { JdbcParameter parameter = new JdbcParameter(sqlType, values); getParameters(statement).put(parameterIndex, parameter); diff --git a/src/main/java/com/alibaba/druid/filter/stat/StatFilter.java b/src/main/java/com/alibaba/druid/filter/stat/StatFilter.java index 220d32fc71..5a8ed9eaf5 100644 --- a/src/main/java/com/alibaba/druid/filter/stat/StatFilter.java +++ b/src/main/java/com/alibaba/druid/filter/stat/StatFilter.java @@ -167,8 +167,7 @@ public class StatFilter extends FilterEventAdapter implements StatFilterMBean { } @Override - public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) - throws SQLException { + public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) throws SQLException { super.connection_rollback(chain, connection, savepoint); connectStat.incrementConnectionRollbackCount(); @@ -465,8 +464,7 @@ public class StatFilter extends FilterEventAdapter implements StatFilterMBean { JdbcConnectionStat.Entry counter = (JdbcConnectionStat.Entry) connection.getAttributes().get(ATTR_NAME_CONNECTION_STAT); if (counter == null) { - connection.getAttributes().put(ATTR_NAME_CONNECTION_STAT, - new JdbcConnectionStat.Entry(this.dataSource.getName(), connection.getId())); + connection.getAttributes().put(ATTR_NAME_CONNECTION_STAT, new JdbcConnectionStat.Entry(this.dataSource.getName(), connection.getId())); counter = (JdbcConnectionStat.Entry) connection.getAttributes().get(ATTR_NAME_CONNECTION_STAT); } diff --git a/src/main/java/com/alibaba/druid/filter/trace/TraceFilter.java b/src/main/java/com/alibaba/druid/filter/trace/TraceFilter.java index 9038b06297..864e574443 100644 --- a/src/main/java/com/alibaba/druid/filter/trace/TraceFilter.java +++ b/src/main/java/com/alibaba/druid/filter/trace/TraceFilter.java @@ -321,8 +321,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) - throws SQLException { + public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savepoint) throws SQLException { if (!isTraceConnectionEnable()) { chain.connection_rollback(connection, savepoint); return; @@ -390,8 +389,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareStatement(connection, sql); } @@ -412,8 +410,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -424,8 +421,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return statement; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -435,8 +431,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -446,8 +441,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -459,8 +453,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int autoGeneratedKeys) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int autoGeneratedKeys) + throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareStatement(connection, sql, autoGeneratedKeys); } @@ -482,8 +476,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -496,8 +489,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return statement; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -508,8 +500,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -520,8 +511,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -534,9 +524,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency) throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency); } @@ -555,13 +544,11 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } try { - PreparedStatementProxy statement = chain.connection_prepareStatement(connection, sql, resultSetType, - resultSetConcurrency); + PreparedStatementProxy statement = chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency); long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -575,8 +562,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return statement; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -588,8 +574,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -601,8 +586,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -616,12 +600,10 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { if (!isTraceConnectionEnable()) { - return chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + return chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } long startMillis = System.currentTimeMillis(); @@ -639,14 +621,11 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } try { - PreparedStatementProxy statement = chain.connection_prepareStatement(connection, sql, resultSetType, - resultSetConcurrency, - resultSetHoldability); + PreparedStatementProxy statement = chain.connection_prepareStatement(connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -661,8 +640,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return statement; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -675,8 +653,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -689,8 +666,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -705,8 +681,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, int[] columnIndexes) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, int[] columnIndexes) + throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareStatement(connection, sql, columnIndexes); } @@ -728,8 +704,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -742,8 +717,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return statement; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -754,8 +728,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -766,8 +739,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -780,8 +752,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, - String sql, String[] columnNames) throws SQLException { + public PreparedStatementProxy connection_prepareStatement(FilterChain chain, ConnectionProxy connection, String sql, String[] columnNames) + throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareStatement(connection, sql, columnNames); } @@ -803,8 +775,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionPrepareStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -817,8 +788,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return statement; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -829,8 +799,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -841,8 +810,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), - ex); + TraceErrorEvent event = new TraceErrorEvent("ConnectionPrepareStatementError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -855,8 +823,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) - throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql) throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareCall(connection, sql); } @@ -921,9 +888,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency) - throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, int resultSetConcurrency) + throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency); } @@ -942,8 +908,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } try { - CallableStatementProxy statement = chain.connection_prepareCall(connection, sql, resultSetType, - resultSetConcurrency); + CallableStatementProxy statement = chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency); long timespan = System.currentTimeMillis() - startMillis; { @@ -999,12 +964,10 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, - int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public CallableStatementProxy connection_prepareCall(FilterChain chain, ConnectionProxy connection, String sql, int resultSetType, + int resultSetConcurrency, int resultSetHoldability) throws SQLException { if (!isTraceConnectionEnable()) { - return chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + return chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } long startMillis = System.currentTimeMillis(); @@ -1022,8 +985,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } try { - CallableStatementProxy statement = chain.connection_prepareCall(connection, sql, resultSetType, - resultSetConcurrency, resultSetHoldability); + CallableStatementProxy statement = chain.connection_prepareCall(connection, sql, resultSetType, resultSetConcurrency, resultSetHoldability); long timespan = System.currentTimeMillis() - startMillis; { @@ -1103,8 +1065,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionCreateStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionCreateStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1144,8 +1105,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency) throws SQLException { + public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency) + throws SQLException { if (!isTraceConnectionEnable()) { return chain.connection_createStatement(connection, resultSetType, resultSetConcurrency); } @@ -1167,8 +1128,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionCreateStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionCreateStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1216,12 +1176,10 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, - int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public StatementProxy connection_createStatement(FilterChain chain, ConnectionProxy connection, int resultSetType, int resultSetConcurrency, + int resultSetHoldability) throws SQLException { if (!isTraceConnectionEnable()) { - return chain.connection_createStatement(connection, resultSetType, resultSetConcurrency, - resultSetHoldability); + return chain.connection_createStatement(connection, resultSetType, resultSetConcurrency, resultSetHoldability); } long startMillis = System.currentTimeMillis(); @@ -1239,13 +1197,11 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } try { - StatementProxy statement = chain.connection_createStatement(connection, resultSetType, resultSetType, - resultSetHoldability); + StatementProxy statement = chain.connection_createStatement(connection, resultSetType, resultSetType, resultSetHoldability); long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("ConnectionCreateStatementAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("ConnectionCreateStatementAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1368,8 +1324,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_execute(statement, sql, autoGeneratedKeys); } @@ -1445,8 +1400,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_execute(statement, sql, columnIndexes); } @@ -1522,8 +1476,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_execute(statement, sql, columnNames); } @@ -1622,8 +1575,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("StatementExecuteBatchAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("StatementExecuteBatchAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1667,8 +1619,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) - throws SQLException { + public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_executeQuery(statement, sql); } @@ -1692,8 +1643,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("StatementExecuteQueryAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("StatementExecuteQueryAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1767,8 +1717,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1816,8 +1765,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_executeUpdate(statement, sql, autoGeneratedKeys); } @@ -1842,8 +1790,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1895,8 +1842,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_executeUpdate(statement, sql, columnIndexes); } @@ -1921,8 +1867,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -1974,8 +1919,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(FilterChain chain, StatementProxy statement, String sql, String columnNames[]) throws SQLException { if (!isTraceStatementEnable()) { return chain.statement_executeUpdate(statement, sql, columnNames); } @@ -2000,8 +1944,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("StatementExecuteUpdateAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2377,8 +2320,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("PreparedStatementExecuteAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("PreparedStatementExecuteAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2430,8 +2372,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public ResultSetProxy preparedStatement_executeQuery(FilterChain chain, PreparedStatementProxy statement) throws SQLException { if (!isTraceStatementEnable()) { return chain.preparedStatement_executeQuery(statement); } @@ -2456,8 +2397,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("PreparedStatementExecuteQueryAfter", - new Date(startMillis), timespan); + TraceAfterEvent event = new TraceAfterEvent("PreparedStatementExecuteQueryAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2473,8 +2413,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return resultSet; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteQueryError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteQueryError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2486,8 +2425,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteQueryError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteQueryError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2499,8 +2437,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteQueryError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteQueryError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2539,8 +2476,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("PreparedStatementExecuteQueryAfter", - new Date(startMillis), timespan); + TraceAfterEvent event = new TraceAfterEvent("PreparedStatementExecuteQueryAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2554,8 +2490,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { return updateCount; } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteUpdateError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteUpdateError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2567,8 +2502,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteUpdateError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteUpdateError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2580,8 +2514,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteUpdateError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementExecuteUpdateError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2595,8 +2528,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) - throws SQLException { + public void preparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) throws SQLException { if (!isTraceStatementEnable()) { chain.preparedStatement_clearParameters(statement); return; @@ -2622,8 +2554,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("PreparedStatementClearParametersAfter", - new Date(startMillis), timespan); + TraceAfterEvent event = new TraceAfterEvent("PreparedStatementClearParametersAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2634,8 +2565,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } } catch (SQLException ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementClearParametersError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementClearParametersError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2647,8 +2577,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (RuntimeException ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementClearParametersError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementClearParametersError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2660,8 +2589,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { throw ex; } catch (Error ex) { { - TraceErrorEvent event = new TraceErrorEvent("PreparedStatementClearParametersError", - new Date(startMillis), ex); + TraceErrorEvent event = new TraceErrorEvent("PreparedStatementClearParametersError", new Date(startMillis), ex); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2701,8 +2629,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { long timespan = System.currentTimeMillis() - startMillis; { - TraceAfterEvent event = new TraceAfterEvent("PreparedStatementAddBatchAfter", new Date(startMillis), - timespan); + TraceAfterEvent event = new TraceAfterEvent("PreparedStatementAddBatchAfter", new Date(startMillis), timespan); event.putContext(TRACE_CONN_INFO, connection.getProperties().clone()); event.putContext(TRACE_CONN_CONNECTED_TIME, connection.getConnectedTime()); event.putContext(TRACE_CONN_ID, connection.getId()); @@ -2758,8 +2685,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { // ////////////////////////////////////////////// @Override - public void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Array x) throws SQLException { + public void preparedStatement_setArray(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setArray(chain, statement, parameterIndex, x); return; @@ -2776,8 +2702,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x) throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setAsciiStream(chain, statement, parameterIndex, x); return; @@ -2794,9 +2720,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, int length) - throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setAsciiStream(chain, statement, parameterIndex, x, length); return; @@ -2814,9 +2739,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, long length) - throws SQLException { + public void preparedStatement_setAsciiStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setAsciiStream(chain, statement, parameterIndex, x, length); return; @@ -2834,8 +2758,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, BigDecimal x) throws SQLException { + public void preparedStatement_setBigDecimal(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBigDecimal(chain, statement, parameterIndex, x); return; @@ -2852,8 +2775,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x) throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBinaryStream(chain, statement, parameterIndex, x); return; @@ -2870,9 +2793,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, int length) - throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBinaryStream(chain, statement, parameterIndex, x, length); return; @@ -2890,9 +2812,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, long length) - throws SQLException { + public void preparedStatement_setBinaryStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBinaryStream(chain, statement, parameterIndex, x, length); return; @@ -2910,8 +2831,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Blob x) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBlob(chain, statement, parameterIndex, x); return; @@ -2928,8 +2848,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBlob(chain, statement, parameterIndex, inputStream); return; @@ -2946,8 +2865,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream, long length) throws SQLException { + public void preparedStatement_setBlob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, InputStream inputStream, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBlob(chain, statement, parameterIndex, inputStream, length); return; @@ -2965,8 +2884,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - boolean x) throws SQLException { + public void preparedStatement_setBoolean(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, boolean x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBoolean(chain, statement, parameterIndex, x); return; @@ -2983,8 +2901,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - byte x) throws SQLException { + public void preparedStatement_setByte(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setByte(chain, statement, parameterIndex, x); return; @@ -3001,8 +2918,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - byte x[]) throws SQLException { + public void preparedStatement_setBytes(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, byte x[]) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setBytes(chain, statement, parameterIndex, x); return; @@ -3019,8 +2935,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader) throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, reader); return; @@ -3037,9 +2953,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader, int length) - throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, int length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, reader, length); return; @@ -3057,9 +2972,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.Reader reader, long length) - throws SQLException { + public void preparedStatement_setCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.Reader reader, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setCharacterStream(chain, statement, parameterIndex, reader, length); return; @@ -3077,8 +2991,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Clob x) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setClob(chain, statement, parameterIndex, x); return; @@ -3095,8 +3008,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setClob(chain, statement, parameterIndex, reader); return; @@ -3113,8 +3025,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader, long length) throws SQLException { + public void preparedStatement_setClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setClob(chain, statement, parameterIndex, reader, length); return; @@ -3132,8 +3044,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Date x) throws SQLException { + public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setDate(chain, statement, parameterIndex, x); return; @@ -3150,8 +3061,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Date x, Calendar calendar) throws SQLException { + public void preparedStatement_setDate(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, Calendar calendar) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setDate(chain, statement, parameterIndex, x, calendar); return; @@ -3169,8 +3080,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - double x) throws SQLException { + public void preparedStatement_setDouble(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, double x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setDouble(chain, statement, parameterIndex, x); return; @@ -3187,8 +3097,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - float x) throws SQLException { + public void preparedStatement_setFloat(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setFloat(chain, statement, parameterIndex, x); return; @@ -3205,8 +3114,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException { + public void preparedStatement_setInt(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setInt(chain, statement, parameterIndex, x); return; @@ -3223,8 +3131,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - long x) throws SQLException { + public void preparedStatement_setLong(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setLong(chain, statement, parameterIndex, x); return; @@ -3241,8 +3148,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader value) throws SQLException { + public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader value) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNCharacterStream(chain, statement, parameterIndex, value); return; @@ -3259,9 +3166,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, Reader value, long length) - throws SQLException { + public void preparedStatement_setNCharacterStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader value, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNCharacterStream(chain, statement, parameterIndex, value, length); return; @@ -3279,8 +3185,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - NClob value) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, NClob value) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNClob(chain, statement, parameterIndex, value); return; @@ -3297,8 +3202,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNClob(chain, statement, parameterIndex, reader); return; @@ -3315,8 +3219,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Reader reader, long length) throws SQLException { + public void preparedStatement_setNClob(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNClob(chain, statement, parameterIndex, reader, length); return; @@ -3334,8 +3238,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String value) throws SQLException { + public void preparedStatement_setNString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String value) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNString(chain, statement, parameterIndex, value); return; @@ -3352,8 +3255,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType) throws SQLException { + public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNull(chain, statement, parameterIndex, sqlType); return; @@ -3371,8 +3273,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException { + public void preparedStatement_setNull(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setNull(chain, statement, parameterIndex, sqlType, typeName); return; @@ -3391,8 +3293,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setObject(chain, statement, parameterIndex, x); return; @@ -3421,8 +3322,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setObject(chain, statement, parameterIndex, x, targetSqlType); return; @@ -3452,8 +3353,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - Object x, int targetSqlType, int scaleOrLength) throws SQLException { + public void preparedStatement_setObject(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, + int scaleOrLength) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setObject(chain, statement, parameterIndex, x, targetSqlType, scaleOrLength); return; @@ -3484,8 +3385,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException { + public void preparedStatement_setRef(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setRef(chain, statement, parameterIndex, x); return; @@ -3502,8 +3402,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - RowId x) throws SQLException { + public void preparedStatement_setRowId(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setRowId(chain, statement, parameterIndex, x); return; @@ -3520,8 +3419,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - short x) throws SQLException { + public void preparedStatement_setShort(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setShort(chain, statement, parameterIndex, x); return; @@ -3538,8 +3436,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - SQLXML xmlObject) throws SQLException { + public void preparedStatement_setSQLXML(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setSQLXML(chain, statement, parameterIndex, xmlObject); return; @@ -3556,8 +3453,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - String x) throws SQLException { + public void preparedStatement_setString(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, String x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setString(chain, statement, parameterIndex, x); return; @@ -3574,8 +3470,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Time x) throws SQLException { + public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setTime(chain, statement, parameterIndex, x); return; @@ -3592,8 +3487,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Time x, Calendar calendar) throws SQLException { + public void preparedStatement_setTime(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, Calendar calendar) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setTime(chain, statement, parameterIndex, x, calendar); return; @@ -3611,8 +3506,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x) throws SQLException { + public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setTimestamp(chain, statement, parameterIndex, x); return; @@ -3629,8 +3524,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x, Calendar calendar) throws SQLException { + public void preparedStatement_setTimestamp(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x, Calendar calendar) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setTimestamp(chain, statement, parameterIndex, x, calendar); return; @@ -3648,9 +3543,8 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setUnicodeStream(FilterChain chain, PreparedStatementProxy statement, - int parameterIndex, java.io.InputStream x, int length) - throws SQLException { + public void preparedStatement_setUnicodeStream(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, int length) + throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setUnicodeStream(chain, statement, parameterIndex, x, length); return; @@ -3668,8 +3562,7 @@ public class TraceFilter extends FilterAdapter implements TraceFilterMBean { } @Override - public void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, - java.net.URL x) throws SQLException { + public void preparedStatement_setURL(FilterChain chain, PreparedStatementProxy statement, int parameterIndex, java.net.URL x) throws SQLException { if (!isTraceStatementEnable()) { super.preparedStatement_setURL(chain, statement, parameterIndex, x); return; diff --git a/src/main/java/com/alibaba/druid/mock/MockArray.java b/src/main/java/com/alibaba/druid/mock/MockArray.java index a96364b50d..56f3b14b04 100644 --- a/src/main/java/com/alibaba/druid/mock/MockArray.java +++ b/src/main/java/com/alibaba/druid/mock/MockArray.java @@ -21,10 +21,11 @@ import java.sql.SQLException; import java.util.Map; public class MockArray implements Array { + private int baseType; - - public MockArray() { - + + public MockArray(){ + } @Override diff --git a/src/main/java/com/alibaba/druid/mock/MockConnection.java b/src/main/java/com/alibaba/druid/mock/MockConnection.java index 167b6e60d0..d26fc53c70 100644 --- a/src/main/java/com/alibaba/druid/mock/MockConnection.java +++ b/src/main/java/com/alibaba/druid/mock/MockConnection.java @@ -177,8 +177,7 @@ public class MockConnection implements Connection { } @Override - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { + public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { return new MockPreparedStatement(this, sql); } @@ -228,20 +227,17 @@ public class MockConnection implements Connection { } @Override - public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return new MockStatement(this); } @Override - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return new MockPreparedStatement(this, sql); } @Override - public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return new MockCallableStatement(this, sql); } diff --git a/src/main/java/com/alibaba/druid/mock/MockPreparedStatement.java b/src/main/java/com/alibaba/druid/mock/MockPreparedStatement.java index e1a96c5317..15f90b6b49 100644 --- a/src/main/java/com/alibaba/druid/mock/MockPreparedStatement.java +++ b/src/main/java/com/alibaba/druid/mock/MockPreparedStatement.java @@ -43,10 +43,10 @@ public class MockPreparedStatement extends MockStatement implements PreparedStat private final String sql; - private final List parameters = new ArrayList(); + private final List parameters = new ArrayList(); + + private MockParameterMetaData metadata = new MockParameterMetaData(); - private MockParameterMetaData metadata = new MockParameterMetaData(); - private MockResultSetMetaData resultSetMetaData = new MockResultSetMetaData(); public MockPreparedStatement(Connection conn, String sql){ diff --git a/src/main/java/com/alibaba/druid/mock/MockResultSet.java b/src/main/java/com/alibaba/druid/mock/MockResultSet.java index ce307a4f4d..d7c346768d 100644 --- a/src/main/java/com/alibaba/druid/mock/MockResultSet.java +++ b/src/main/java/com/alibaba/druid/mock/MockResultSet.java @@ -327,7 +327,7 @@ public class MockResultSet implements ResultSet { public ResultSetMetaData getMetaData() throws SQLException { return metaData; } - + public MockResultSetMetaData getMockMetaData() throws SQLException { return metaData; } diff --git a/src/main/java/com/alibaba/druid/mock/handler/MockExecuteHandler.java b/src/main/java/com/alibaba/druid/mock/handler/MockExecuteHandler.java index 662919d846..81f13f5fcb 100644 --- a/src/main/java/com/alibaba/druid/mock/handler/MockExecuteHandler.java +++ b/src/main/java/com/alibaba/druid/mock/handler/MockExecuteHandler.java @@ -6,5 +6,6 @@ import java.sql.SQLException; import com.alibaba.druid.mock.MockStatement; public interface MockExecuteHandler { + ResultSet executeQuery(MockStatement statement, String sql) throws SQLException; } diff --git a/src/main/java/com/alibaba/druid/pool/DruidDataAbstractSource.java b/src/main/java/com/alibaba/druid/pool/DruidDataAbstractSource.java index 45f3065afd..f95f7c56f4 100644 --- a/src/main/java/com/alibaba/druid/pool/DruidDataAbstractSource.java +++ b/src/main/java/com/alibaba/druid/pool/DruidDataAbstractSource.java @@ -98,7 +98,7 @@ public abstract class DruidDataAbstractSource implements DataSource, DataSourceP protected PrintWriter logWriter = new PrintWriter(System.out); - protected List filters = new ArrayList(); + protected List filters = new ArrayList(); protected Driver driver; diff --git a/src/main/java/com/alibaba/druid/pool/DruidDataSource.java b/src/main/java/com/alibaba/druid/pool/DruidDataSource.java index a27bf0c8cf..41d45a0f52 100644 --- a/src/main/java/com/alibaba/druid/pool/DruidDataSource.java +++ b/src/main/java/com/alibaba/druid/pool/DruidDataSource.java @@ -74,8 +74,8 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat private final IdentityHashMap activeConnections = new IdentityHashMap(); - private final CountDownLatch initedLatch = new CountDownLatch(2); - + private final CountDownLatch initedLatch = new CountDownLatch(2); + public DruidDataSource(){ } @@ -90,11 +90,11 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat if (inited) { return; } - + if (maxActive <= 0) { throw new IllegalArgumentException("illegal maxActive " + maxActive); } - + if (maxIdle <= 0 || maxIdle < minIdle) { throw new IllegalArgumentException("illegal maxPoolSize"); } @@ -120,7 +120,7 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat } catch (ClassNotFoundException e) { throw new SQLException(e.getMessage(), e); } - + for (Filter filter : filters) { filter.init(this); } @@ -151,7 +151,7 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat initedLatch.await(); inited = true; - + if (count == 0) { lowWater.signal(); } @@ -205,11 +205,10 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat final int maxWaitThreadCount = getMaxWaitThreadCount(); if (maxWaitThreadCount > 0) { if (lock.getQueueLength() > maxWaitThreadCount) { - throw new SQLException("maxWaitThreadCount " + maxWaitThreadCount + ", current wait Thread count " - + lock.getQueueLength()); + throw new SQLException("maxWaitThreadCount " + maxWaitThreadCount + ", current wait Thread count " + lock.getQueueLength()); } } - + try { lock.lockInterruptibly(); @@ -244,9 +243,7 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat if (activeConnectionTraceEnable) { StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); - activeConnections.put(poolalbeConnection, - new ActiveConnectionTraceInfo(poolalbeConnection, System.currentTimeMillis(), - stackTrace)); + activeConnections.put(poolalbeConnection, new ActiveConnectionTraceInfo(poolalbeConnection, System.currentTimeMillis(), stackTrace)); } return poolalbeConnection; @@ -400,7 +397,7 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat if (minIdle == 0) { lowWater.signal(); } - + notEmpty.await(); } } catch (InterruptedException ie) { @@ -497,7 +494,7 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat public void run() { initedLatch.countDown(); - + for (;;) { // addLast lock.lock(); @@ -535,7 +532,7 @@ public class DruidDataSource extends DruidDataAbstractSource implements DruidDat public void run() { initedLatch.countDown(); - + for (;;) { // 从前面开始删除 try { diff --git a/src/main/java/com/alibaba/druid/pool/DruidDataSourceFactory.java b/src/main/java/com/alibaba/druid/pool/DruidDataSourceFactory.java index 0714f0fb6b..65687bc55d 100644 --- a/src/main/java/com/alibaba/druid/pool/DruidDataSourceFactory.java +++ b/src/main/java/com/alibaba/druid/pool/DruidDataSourceFactory.java @@ -71,19 +71,15 @@ public class DruidDataSourceFactory implements ObjectFactory { private final static String PROP_CONNECTIONPROPERTIES = "connectionProperties"; private final static String PROP_FILTERS = "filters"; - private final static String[] ALL_PROPERTIES = { PROP_DEFAULTAUTOCOMMIT, - PROP_DEFAULTREADONLY, PROP_DEFAULTTRANSACTIONISOLATION, PROP_DEFAULTCATALOG, PROP_DRIVERCLASSNAME, - PROP_MAXACTIVE, PROP_MAXIDLE, PROP_MINIDLE, PROP_INITIALSIZE, PROP_MAXWAIT, PROP_TESTONBORROW, - PROP_TESTONRETURN, PROP_TIMEBETWEENEVICTIONRUNSMILLIS, PROP_NUMTESTSPEREVICTIONRUN, - PROP_MINEVICTABLEIDLETIMEMILLIS, PROP_TESTWHILEIDLE, PROP_PASSWORD, PROP_URL, PROP_USERNAME, - PROP_VALIDATIONQUERY, PROP_VALIDATIONQUERY_TIMEOUT, PROP_INITCONNECTIONSQLS, - PROP_ACCESSTOUNDERLYINGCONNECTIONALLOWED, PROP_REMOVEABANDONED, PROP_REMOVEABANDONEDTIMEOUT, - PROP_LOGABANDONED, PROP_POOLPREPAREDSTATEMENTS, PROP_MAXOPENPREPAREDSTATEMENTS, PROP_CONNECTIONPROPERTIES, - PROP_FILTERS }; + private final static String[] ALL_PROPERTIES = { PROP_DEFAULTAUTOCOMMIT, PROP_DEFAULTREADONLY, PROP_DEFAULTTRANSACTIONISOLATION, + PROP_DEFAULTCATALOG, PROP_DRIVERCLASSNAME, PROP_MAXACTIVE, PROP_MAXIDLE, PROP_MINIDLE, PROP_INITIALSIZE, PROP_MAXWAIT, PROP_TESTONBORROW, + PROP_TESTONRETURN, PROP_TIMEBETWEENEVICTIONRUNSMILLIS, PROP_NUMTESTSPEREVICTIONRUN, PROP_MINEVICTABLEIDLETIMEMILLIS, PROP_TESTWHILEIDLE, + PROP_PASSWORD, PROP_URL, PROP_USERNAME, PROP_VALIDATIONQUERY, PROP_VALIDATIONQUERY_TIMEOUT, PROP_INITCONNECTIONSQLS, + PROP_ACCESSTOUNDERLYINGCONNECTIONALLOWED, PROP_REMOVEABANDONED, PROP_REMOVEABANDONEDTIMEOUT, PROP_LOGABANDONED, PROP_POOLPREPAREDSTATEMENTS, + PROP_MAXOPENPREPAREDSTATEMENTS, PROP_CONNECTIONPROPERTIES, PROP_FILTERS }; @Override - public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) - throws Exception { + public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception { // We only know how to deal with javax.naming.References // that specify a class name of "javax.sql.DataSource" @@ -274,7 +270,7 @@ public class DruidDataSourceFactory implements ObjectFactory { if (value != null) { dataSource.setMaxOpenPreparedStatements(Integer.parseInt(value)); } - + value = properties.getProperty(PROP_FILTERS); if (value != null) { dataSource.setFilters(value); diff --git a/src/main/java/com/alibaba/druid/pool/DruidDataSourceMBean.java b/src/main/java/com/alibaba/druid/pool/DruidDataSourceMBean.java index d0162bc822..47d377237c 100644 --- a/src/main/java/com/alibaba/druid/pool/DruidDataSourceMBean.java +++ b/src/main/java/com/alibaba/druid/pool/DruidDataSourceMBean.java @@ -57,6 +57,6 @@ public interface DruidDataSourceMBean { void setActiveConnectionTraceEnable(boolean connectStackTraceEnable); List getActiveConnectionStackTrace(); - + List getFilterClassNames(); } diff --git a/src/main/java/com/alibaba/druid/pool/PoolableConnection.java b/src/main/java/com/alibaba/druid/pool/PoolableConnection.java index 3b940f612b..38ef6bf3b6 100644 --- a/src/main/java/com/alibaba/druid/pool/PoolableConnection.java +++ b/src/main/java/com/alibaba/druid/pool/PoolableConnection.java @@ -118,8 +118,7 @@ public class PoolableConnection implements PooledConnection, Connection { } @Override - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { + public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { checkOpen(); if (holder.isPoolPreparedStatements()) { @@ -143,8 +142,7 @@ public class PoolableConnection implements PooledConnection, Connection { } @Override - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkOpen(); if (holder.isPoolPreparedStatements()) { @@ -157,8 +155,7 @@ public class PoolableConnection implements PooledConnection, Connection { return poolableStatement; } - PreparedStatement stmt = conn.prepareStatement(sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + PreparedStatement stmt = conn.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); holder.getDataSource().initStatement(stmt); @@ -267,8 +264,7 @@ public class PoolableConnection implements PooledConnection, Connection { } @Override - public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { + public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkOpen(); if (holder.isPoolPreparedStatements()) { @@ -332,8 +328,7 @@ public class PoolableConnection implements PooledConnection, Connection { } @Override - public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkOpen(); Statement stmt = conn.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability); diff --git a/src/main/java/com/alibaba/druid/pool/xa/DataSourceXAConnectionFactory.java b/src/main/java/com/alibaba/druid/pool/xa/DataSourceXAConnectionFactory.java index 036b5c7b81..9566a69f25 100644 --- a/src/main/java/com/alibaba/druid/pool/xa/DataSourceXAConnectionFactory.java +++ b/src/main/java/com/alibaba/druid/pool/xa/DataSourceXAConnectionFactory.java @@ -55,8 +55,7 @@ public class DataSourceXAConnectionFactory implements XAConnectionFactory { * @param username the username used for authenticating new connections or null for unauthenticated * @param password the password used for authenticating new connections */ - public DataSourceXAConnectionFactory(TransactionManager transactionManager, XADataSource xaDataSource, - String username, String password){ + public DataSourceXAConnectionFactory(TransactionManager transactionManager, XADataSource xaDataSource, String username, String password){ if (transactionManager == null) throw new NullPointerException("transactionManager is null"); if (xaDataSource == null) throw new NullPointerException("xaDataSource is null"); diff --git a/src/main/java/com/alibaba/druid/pool/xa/DruidXADataSource.java b/src/main/java/com/alibaba/druid/pool/xa/DruidXADataSource.java index ba47bd5f11..68bd964104 100644 --- a/src/main/java/com/alibaba/druid/pool/xa/DruidXADataSource.java +++ b/src/main/java/com/alibaba/druid/pool/xa/DruidXADataSource.java @@ -116,8 +116,7 @@ public class DruidXADataSource extends DruidDataSource { // LocalXAConnectionFactory if (xaDataSource == null) { ConnectionFactory connectionFactory = super.createConnectionFactory(); - XAConnectionFactory xaConnectionFactory = new LocalXAConnectionFactory(getTransactionManager(), - connectionFactory); + XAConnectionFactory xaConnectionFactory = new LocalXAConnectionFactory(getTransactionManager(), connectionFactory); transactionRegistry = xaConnectionFactory.getTransactionRegistry(); return xaConnectionFactory; } @@ -141,9 +140,7 @@ public class DruidXADataSource extends DruidDataSource { } // finally, create the XAConectionFactory using the XA data source - XAConnectionFactory xaConnectionFactory = new DataSourceXAConnectionFactory(getTransactionManager(), - xaDataSourceInstance, username, - password); + XAConnectionFactory xaConnectionFactory = new DataSourceXAConnectionFactory(getTransactionManager(), xaDataSourceInstance, username, password); transactionRegistry = xaConnectionFactory.getTransactionRegistry(); return xaConnectionFactory; } diff --git a/src/main/java/com/alibaba/druid/pool/xa/LocalXAConnectionFactory.java b/src/main/java/com/alibaba/druid/pool/xa/LocalXAConnectionFactory.java index 74a1b40ce4..464bba5235 100644 --- a/src/main/java/com/alibaba/druid/pool/xa/LocalXAConnectionFactory.java +++ b/src/main/java/com/alibaba/druid/pool/xa/LocalXAConnectionFactory.java @@ -139,8 +139,7 @@ public class LocalXAConnectionFactory implements XAConnectionFactory { this.currentXid = xid; } else if (flag == XAResource.TMRESUME) { if (xid != this.currentXid) { - throw new XAException("Attempting to resume in different transaction: expected " + this.currentXid - + ", but was " + xid); + throw new XAException("Attempting to resume in different transaction: expected " + this.currentXid + ", but was " + xid); } } else { throw new XAException("Unknown start flag " + flag); @@ -156,8 +155,7 @@ public class LocalXAConnectionFactory implements XAConnectionFactory { */ public synchronized void end(Xid xid, int flag) throws XAException { if (xid == null) throw new NullPointerException("xid is null"); - if (!this.currentXid.equals(xid)) throw new XAException("Invalid Xid: expected " + this.currentXid - + ", but was " + xid); + if (!this.currentXid.equals(xid)) throw new XAException("Invalid Xid: expected " + this.currentXid + ", but was " + xid); // This notification tells us that the application server is done using this // connection for the time being. The connection is still associated with an @@ -202,8 +200,7 @@ public class LocalXAConnectionFactory implements XAConnectionFactory { */ public synchronized void commit(Xid xid, boolean flag) throws XAException { if (xid == null) throw new NullPointerException("xid is null"); - if (!this.currentXid.equals(xid)) throw new XAException("Invalid Xid: expected " + this.currentXid - + ", but was " + xid); + if (!this.currentXid.equals(xid)) throw new XAException("Invalid Xid: expected " + this.currentXid + ", but was " + xid); try { // make sure the connection isn't already closed @@ -234,8 +231,7 @@ public class LocalXAConnectionFactory implements XAConnectionFactory { */ public synchronized void rollback(Xid xid) throws XAException { if (xid == null) throw new NullPointerException("xid is null"); - if (!this.currentXid.equals(xid)) throw new XAException("Invalid Xid: expected " + this.currentXid - + ", but was " + xid); + if (!this.currentXid.equals(xid)) throw new XAException("Invalid Xid: expected " + this.currentXid + ", but was " + xid); try { connection.rollback(); diff --git a/src/main/java/com/alibaba/druid/pool/xa/ManagedConnection.java b/src/main/java/com/alibaba/druid/pool/xa/ManagedConnection.java index 730fc57ecd..7d3cd362d8 100644 --- a/src/main/java/com/alibaba/druid/pool/xa/ManagedConnection.java +++ b/src/main/java/com/alibaba/druid/pool/xa/ManagedConnection.java @@ -43,8 +43,7 @@ public class ManagedConnection extends PoolableConnection { private TransactionContext transactionContext; private boolean isSharedConnection; - public ManagedConnection(ConnectionHolder holder, TransactionRegistry transactionRegistry, - boolean accessToUnderlyingConnectionAllowed) throws SQLException{ + public ManagedConnection(ConnectionHolder holder, TransactionRegistry transactionRegistry, boolean accessToUnderlyingConnectionAllowed) throws SQLException{ super(holder); this.transactionRegistry = transactionRegistry; this.accessToUnderlyingConnectionAllowed = accessToUnderlyingConnectionAllowed; diff --git a/src/main/java/com/alibaba/druid/proxy/DruidDriver.java b/src/main/java/com/alibaba/druid/proxy/DruidDriver.java index c33f460874..aedf7707ea 100644 --- a/src/main/java/com/alibaba/druid/proxy/DruidDriver.java +++ b/src/main/java/com/alibaba/druid/proxy/DruidDriver.java @@ -108,7 +108,7 @@ public class DruidDriver implements Driver, DruidDriverMBean { if (!acceptsURL(url)) { return null; } - + connectCounter.incrementAndGet(); DataSourceProxyImpl dataSource = getDataSource(url, info); diff --git a/src/main/java/com/alibaba/druid/proxy/config/DruidFilterConfigLoader.java b/src/main/java/com/alibaba/druid/proxy/config/DruidFilterConfigLoader.java index b4afbd07bb..ec80bf577b 100644 --- a/src/main/java/com/alibaba/druid/proxy/config/DruidFilterConfigLoader.java +++ b/src/main/java/com/alibaba/druid/proxy/config/DruidFilterConfigLoader.java @@ -51,8 +51,7 @@ public class DruidFilterConfigLoader { private static final String CONFIG_CLAZZ_TAG = "configClass"; - public static void loadConfig(String config, List druidFilterConfigList) - throws SQLException { + public static void loadConfig(String config, List druidFilterConfigList) throws SQLException { URL url = findResource(config); if (url != null) { try { @@ -77,8 +76,7 @@ public class DruidFilterConfigLoader { NodeList filterNodeList = filtersNode.getChildNodes(); for (int i = 0; i < filterNodeList.getLength(); i++) { Node filterNode = filterNodeList.item(i); - if (filterNode != null && filterNode.getNodeType() == Node.ELEMENT_NODE - && filterNode.getAttributes().getNamedItem(NAME_TAG) != null) { + if (filterNode != null && filterNode.getNodeType() == Node.ELEMENT_NODE && filterNode.getAttributes().getNamedItem(NAME_TAG) != null) { Node configClassNode = filterNode.getAttributes().getNamedItem(CONFIG_CLAZZ_TAG); if (configClassNode != null && !"".equalsIgnoreCase(configClassNode.getNodeValue())) { Class configClass = DruidLoaderUtils.loadClass(configClassNode.getNodeValue()); diff --git a/src/main/java/com/alibaba/druid/proxy/jdbc/ConnectionProxyImpl.java b/src/main/java/com/alibaba/druid/proxy/jdbc/ConnectionProxyImpl.java index 585a02f82a..a47531ca2e 100644 --- a/src/main/java/com/alibaba/druid/proxy/jdbc/ConnectionProxyImpl.java +++ b/src/main/java/com/alibaba/druid/proxy/jdbc/ConnectionProxyImpl.java @@ -129,8 +129,7 @@ public class ConnectionProxyImpl extends WrapperProxyImpl implements ConnectionP } @Override - public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) - throws SQLException { + public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return createChain().connection_createStatement(this, resultSetType, resultSetType, resultSetHoldability); } @@ -215,10 +214,8 @@ public class ConnectionProxyImpl extends WrapperProxyImpl implements ConnectionP } @Override - public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - return createChain().connection_prepareCall(this, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { + return createChain().connection_prepareCall(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } @Override @@ -242,16 +239,13 @@ public class ConnectionProxyImpl extends WrapperProxyImpl implements ConnectionP } @Override - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) - throws SQLException { + public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { return createChain().connection_prepareStatement(this, sql, resultSetType, resultSetConcurrency); } @Override - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, - int resultSetHoldability) throws SQLException { - return createChain().connection_prepareStatement(this, sql, resultSetType, resultSetConcurrency, - resultSetHoldability); + public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { + return createChain().connection_prepareStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); } @Override diff --git a/src/main/java/com/alibaba/druid/proxy/jdbc/DataSourceProxyImpl.java b/src/main/java/com/alibaba/druid/proxy/jdbc/DataSourceProxyImpl.java index 7f7e3d46fe..8aa92bb50e 100644 --- a/src/main/java/com/alibaba/druid/proxy/jdbc/DataSourceProxyImpl.java +++ b/src/main/java/com/alibaba/druid/proxy/jdbc/DataSourceProxyImpl.java @@ -175,8 +175,8 @@ public class DataSourceProxyImpl implements DataSourceProxy, DataSourceProxyImpl // SimpleType.STRING, SimpleType.STRING, SimpleType.INTEGER, SimpleType.INTEGER, SimpleType.STRING }; - String[] indexNames = { "ID", "URL", "Name", "FilterClasses", "CreatedTime", "RawUrl", "RawDriverClassName", - "RawDriverMajorVersion", "RawDriverMinorVersion", "Properties" }; + String[] indexNames = { "ID", "URL", "Name", "FilterClasses", "CreatedTime", "RawUrl", "RawDriverClassName", "RawDriverMajorVersion", + "RawDriverMinorVersion", "Properties" }; String[] indexDescriptions = indexNames; COMPOSITE_TYPE = new CompositeType("SqlStatistic", "Sql Statistic", indexNames, indexDescriptions, indexTypes); diff --git a/src/main/java/com/alibaba/druid/proxy/jdbc/NClobProxy.java b/src/main/java/com/alibaba/druid/proxy/jdbc/NClobProxy.java index f10c977947..d5d84eff8e 100644 --- a/src/main/java/com/alibaba/druid/proxy/jdbc/NClobProxy.java +++ b/src/main/java/com/alibaba/druid/proxy/jdbc/NClobProxy.java @@ -3,5 +3,6 @@ package com.alibaba.druid.proxy.jdbc; import java.sql.NClob; public interface NClobProxy extends ClobProxy, NClob { + NClob getRawNClob(); } diff --git a/src/main/java/com/alibaba/druid/sql/ast/expr/SQLBinaryOperator.java b/src/main/java/com/alibaba/druid/sql/ast/expr/SQLBinaryOperator.java index 78731b088b..096bab6c7c 100644 --- a/src/main/java/com/alibaba/druid/sql/ast/expr/SQLBinaryOperator.java +++ b/src/main/java/com/alibaba/druid/sql/ast/expr/SQLBinaryOperator.java @@ -16,14 +16,12 @@ package com.alibaba.druid.sql.ast.expr; public enum SQLBinaryOperator { - Add("+", 70), Subtract("-", 70), Multiply("*", 60), Divide("/", 60), Concat("||", 140), BitwiseAnd("&", 90), - BitwiseNot("!", 130), BitwiseOr("|", 100), BitwiseXor("^", 50), BooleanAnd("AND", 140), BooleanOr("OR", 160), - BooleanXor("XOR", 150), Equality("=", 170), Assignment(":=", 169), GreaterThan(">", 110), GreaterThanOrEqual(">=", - 110), - Is("IS", 110), LessThan("<", 110), LessThanOrEqual("<=", 110), LessThanOrEqualOrGreaterThan("<=>", 110), - LessThanOrGreater("<>", 110), LeftShift("<<", 80), Like("LIKE", 110), RightShift(">>", 80), Modulus("%", 60), - NotEqual("!=", 110), NotLessThan("!<", 110), NotGreaterThan("!>", 110), Union("UNION", 0), - NotLike("NOT LIKE", 110), IsNot("IS NOT", 110), Escape("ESCAPE", 110), RegExp("REGEXP", 110), + Add("+", 70), Subtract("-", 70), Multiply("*", 60), Divide("/", 60), Concat("||", 140), BitwiseAnd("&", 90), BitwiseNot("!", 130), BitwiseOr("|", 100), + BitwiseXor("^", 50), BooleanAnd("AND", 140), BooleanOr("OR", 160), BooleanXor("XOR", 150), Equality("=", 170), Assignment(":=", 169), + GreaterThan(">", 110), GreaterThanOrEqual(">=", 110), Is("IS", 110), LessThan("<", 110), LessThanOrEqual("<=", 110), LessThanOrEqualOrGreaterThan("<=>", + 110), + LessThanOrGreater("<>", 110), LeftShift("<<", 80), Like("LIKE", 110), RightShift(">>", 80), Modulus("%", 60), NotEqual("!=", 110), NotLessThan("!<", 110), + NotGreaterThan("!>", 110), Union("UNION", 0), NotLike("NOT LIKE", 110), IsNot("IS NOT", 110), Escape("ESCAPE", 110), RegExp("REGEXP", 110), NotRegExp("NOT REGEXP", 110), COLLATE("COLLATE", 20); public static int getPriority(SQLBinaryOperator operator) { diff --git a/src/main/java/com/alibaba/druid/sql/ast/expr/SQLNumericLiteralExpr.java b/src/main/java/com/alibaba/druid/sql/ast/expr/SQLNumericLiteralExpr.java index e95491a779..d688d499d0 100644 --- a/src/main/java/com/alibaba/druid/sql/ast/expr/SQLNumericLiteralExpr.java +++ b/src/main/java/com/alibaba/druid/sql/ast/expr/SQLNumericLiteralExpr.java @@ -22,6 +22,6 @@ public abstract class SQLNumericLiteralExpr extends SQLLiteralExpr { public SQLNumericLiteralExpr(){ } - + public abstract Number getNumber(); } diff --git a/src/main/java/com/alibaba/druid/sql/ast/statement/SQLJoinTableSource.java b/src/main/java/com/alibaba/druid/sql/ast/statement/SQLJoinTableSource.java index 7ac1bb968c..e495a35b73 100644 --- a/src/main/java/com/alibaba/druid/sql/ast/statement/SQLJoinTableSource.java +++ b/src/main/java/com/alibaba/druid/sql/ast/statement/SQLJoinTableSource.java @@ -91,8 +91,7 @@ public class SQLJoinTableSource extends SQLTableSource { } public static enum JoinType { - COMMA, JOIN, INNER_JOIN, CROSS_JOIN, NATURAL_JOIN, NATURAL_INNER_JOIN, LEFT_OUTER_JOIN, RIGHT_OUTER_JOIN, - FULL_OUTER_JOIN; + COMMA, JOIN, INNER_JOIN, CROSS_JOIN, NATURAL_JOIN, NATURAL_INNER_JOIN, LEFT_OUTER_JOIN, RIGHT_OUTER_JOIN, FULL_OUTER_JOIN; public static String toString(JoinType joinType) { if (JOIN.equals(joinType)) return "JOIN"; diff --git a/src/main/java/com/alibaba/druid/sql/dialect/mysql/ast/expr/MySqlMatchAgainstExpr.java b/src/main/java/com/alibaba/druid/sql/dialect/mysql/ast/expr/MySqlMatchAgainstExpr.java index 34c6ef1b9c..7aa93693c4 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/mysql/ast/expr/MySqlMatchAgainstExpr.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/mysql/ast/expr/MySqlMatchAgainstExpr.java @@ -59,8 +59,7 @@ public class MySqlMatchAgainstExpr extends SQLExprImpl implements MySqlExpr { public static enum SearchModifier { IN_BOOLEAN_MODE("IN BOOLEAN MODE"), IN_NATURAL_LANGUAGE_MODE("IN NATURAL LANGUAGE MODE"), - IN_NATURAL_LANGUAGE_MODE_WITH_QUERY_EXPANSION("IN NATURAL LANGUAGE MODE WITH QUERY EXPANSION"), - WITH_QUERY_EXPANSION("WITH QUERY EXPANSION"), ; + IN_NATURAL_LANGUAGE_MODE_WITH_QUERY_EXPANSION("IN NATURAL LANGUAGE MODE WITH QUERY EXPANSION"), WITH_QUERY_EXPANSION("WITH QUERY EXPANSION"), ; public final String name; diff --git a/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlExprParser.java b/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlExprParser.java index a4b0fee31c..370b831de8 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlExprParser.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlExprParser.java @@ -169,8 +169,7 @@ public class MySqlExprParser extends SQLExprParser { String collate = lexer.stringVal(); lexer.nextToken(); - SQLBinaryOpExpr binaryExpr = new SQLBinaryOpExpr(expr, SQLBinaryOperator.COLLATE, - new SQLIdentifierExpr(collate)); + SQLBinaryOpExpr binaryExpr = new SQLBinaryOpExpr(expr, SQLBinaryOperator.COLLATE, new SQLIdentifierExpr(collate)); expr = binaryExpr; diff --git a/src/main/java/com/alibaba/druid/sql/dialect/mysql/visitor/MySqlOutputVisitor.java b/src/main/java/com/alibaba/druid/sql/dialect/mysql/visitor/MySqlOutputVisitor.java index 2858787aaa..b8d3471ab5 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/mysql/visitor/MySqlOutputVisitor.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/mysql/visitor/MySqlOutputVisitor.java @@ -129,8 +129,7 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV print(select.getOutFileCharset()); } - if (select.getOutFileColumnsTerminatedBy() != null || select.getOutFileColumnsEnclosedBy() != null - || select.getOutFileColumnsEscaped() != null) { + if (select.getOutFileColumnsTerminatedBy() != null || select.getOutFileColumnsEnclosedBy() != null || select.getOutFileColumnsEscaped() != null) { print(" COLUMNS"); if (select.getOutFileColumnsTerminatedBy() != null) { print(" TERMINATED BY "); diff --git a/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/expr/OracleTimestampExpr.java b/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/expr/OracleTimestampExpr.java index 5d58fbbf1d..762cc5f41f 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/expr/OracleTimestampExpr.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/expr/OracleTimestampExpr.java @@ -55,8 +55,7 @@ public class OracleTimestampExpr extends OracleDatetimeLiteralExpr { buf.append("-"); buf.append(this.dayOfMonth); - if ((this.hour != 0) || (this.minute != 0) || (this.second != 0) || (this.milliSecond != 0) - || (this.timeZone != null)) { + if ((this.hour != 0) || (this.minute != 0) || (this.second != 0) || (this.milliSecond != 0) || (this.timeZone != null)) { buf.append(' '); buf.append(this.hour); buf.append(":"); diff --git a/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/visitor/OracleOutputVisitor.java b/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/visitor/OracleOutputVisitor.java index 9c8c53d6cc..8995edf922 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/visitor/OracleOutputVisitor.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/visitor/OracleOutputVisitor.java @@ -893,8 +893,7 @@ public class OracleOutputVisitor extends SQLASTOutputVisitor implements OracleAS print("-"); print(x.getDayOfMonth()); - if ((x.getHour() != 0) || (x.getMinute() != 0) || (x.getSecond() != 0) || (x.getMilliSecond() != 0) - || (x.getTimeZone() != null)) { + if ((x.getHour() != 0) || (x.getMinute() != 0) || (x.getSecond() != 0) || (x.getMilliSecond() != 0) || (x.getTimeZone() != null)) { print(' '); print(x.getHour()); print(":"); diff --git a/src/main/java/com/alibaba/druid/sql/dialect/oracle/parser/OracleExprParser.java b/src/main/java/com/alibaba/druid/sql/dialect/oracle/parser/OracleExprParser.java index 443ea19037..1553362d65 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/oracle/parser/OracleExprParser.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/oracle/parser/OracleExprParser.java @@ -32,11 +32,10 @@ public class OracleExprParser extends SQLExprParser { public boolean allowStringAdditive = false; - private static final String[] _aggregateFunctions = { "AVG", "CORR", "COVAR_POP", "COVAR_SAMP", "COUNT", - "CUME_DIST", "DENSE_RANK", "FIRST", "FIRST_VALUE", "LAG", "LAST", "LAST_VALUE", "LEAD", "MAX", "MIN", - "NTILE", "PERCENT_RANK", "PERCENTILE_CONT", "PERCENTILE_DISC", "RANK", "RATIO_TO_REPORT", "REGR_SLOPE", - "REGR_INTERCEPT", "REGR_COUNT", "REGR_R2", "REGR_AVGX", "REGR_AVGY", "REGR_SXX", "REGR_SYY", "REGR_SXY", - "ROW_NUMBER", "STDDEV", "STDDEV_POP", "STDDEV_SAMP", "SUM", "VAR_POP", "VAR_SAMP", "VARIANCE" }; + private static final String[] _aggregateFunctions = { "AVG", "CORR", "COVAR_POP", "COVAR_SAMP", "COUNT", "CUME_DIST", "DENSE_RANK", "FIRST", "FIRST_VALUE", + "LAG", "LAST", "LAST_VALUE", "LEAD", "MAX", "MIN", "NTILE", "PERCENT_RANK", "PERCENTILE_CONT", "PERCENTILE_DISC", "RANK", "RATIO_TO_REPORT", + "REGR_SLOPE", "REGR_INTERCEPT", "REGR_COUNT", "REGR_R2", "REGR_AVGX", "REGR_AVGY", "REGR_SXX", "REGR_SYY", "REGR_SXY", "ROW_NUMBER", "STDDEV", + "STDDEV_POP", "STDDEV_SAMP", "SUM", "VAR_POP", "VAR_SAMP", "VARIANCE" }; public OracleExprParser(Lexer lexer){ super(lexer); diff --git a/src/main/java/com/alibaba/druid/sql/parser/Token.java b/src/main/java/com/alibaba/druid/sql/parser/Token.java index 559f9c7ace..dd8a31e5f3 100644 --- a/src/main/java/com/alibaba/druid/sql/parser/Token.java +++ b/src/main/java/com/alibaba/druid/sql/parser/Token.java @@ -16,29 +16,23 @@ package com.alibaba.druid.sql.parser; public enum Token { - FOR("FOR"), INDEX("INDEX"), PRIMARY("PRIMARY"), KEY("KEY"), DEFAULT("DEFAULT"), CONSTRAINT("CONSTRAINT"), - CHECK("CHECK"), VIEW("VIEW"), CREATE("CREATE"), ALTER("ALTER"), DROP("DROP"), TABLE("TABLE"), UPDATE("UPDATE"), - SET("SET"), SELECT("SELECT"), FROM("FROM"), WHERE("WHERE"), ORDER("ORDER"), BY("BY"), GROUP("GROUP"), - HAVING("HAVING"), INSERT("INSERT"), INTO("INTO"), NULL("NULL"), NOT("NOT"), AS("AS"), DELETE("DELETE"), - DISTINCT("DISTINCT"), UNIQUE("UNIQUE"), FOREIGN("FOREIGN"), REFERENCE("REFERENCE"), REFERENCES("REFERENCES"), - ALL("ALL"), UNION("UNION"), INTERSECT("INTERSECT"), MINUS("MINUS"), INNER("INNER"), LEFT("LEFT"), RIGHT("RIGHT"), - FULL("FULL"), OUTER("OUTER"), JOIN("JOIN"), ON("ON"), SCHEMA("SCHEMA"), CAST("CAST"), + FOR("FOR"), INDEX("INDEX"), PRIMARY("PRIMARY"), KEY("KEY"), DEFAULT("DEFAULT"), CONSTRAINT("CONSTRAINT"), CHECK("CHECK"), VIEW("VIEW"), CREATE("CREATE"), + ALTER("ALTER"), DROP("DROP"), TABLE("TABLE"), UPDATE("UPDATE"), SET("SET"), SELECT("SELECT"), FROM("FROM"), WHERE("WHERE"), ORDER("ORDER"), BY("BY"), + GROUP("GROUP"), HAVING("HAVING"), INSERT("INSERT"), INTO("INTO"), NULL("NULL"), NOT("NOT"), AS("AS"), DELETE("DELETE"), DISTINCT("DISTINCT"), + UNIQUE("UNIQUE"), FOREIGN("FOREIGN"), REFERENCE("REFERENCE"), REFERENCES("REFERENCES"), ALL("ALL"), UNION("UNION"), INTERSECT("INTERSECT"), MINUS("MINUS"), + INNER("INNER"), LEFT("LEFT"), RIGHT("RIGHT"), FULL("FULL"), OUTER("OUTER"), JOIN("JOIN"), ON("ON"), SCHEMA("SCHEMA"), CAST("CAST"), - AND("AND"), OR("OR"), XOR("XOR"), CASE("CASE"), WHEN("WHEN"), THEN("THEN"), ELSE("ELSE"), END("END"), - EXISTS("EXISTS"), IN("IN"), + AND("AND"), OR("OR"), XOR("XOR"), CASE("CASE"), WHEN("WHEN"), THEN("THEN"), ELSE("ELSE"), END("END"), EXISTS("EXISTS"), IN("IN"), - NEW("NEW"), ASC("ASC"), DESC("DESC"), IS("IS"), LIKE("LIKE"), ESCAPE("ESCAPE"), BETWEEN("BETWEEN"), - VALUES("VALUES"), INTERVAL("INTERVAL"), + NEW("NEW"), ASC("ASC"), DESC("DESC"), IS("IS"), LIKE("LIKE"), ESCAPE("ESCAPE"), BETWEEN("BETWEEN"), VALUES("VALUES"), INTERVAL("INTERVAL"), LOCK("LOCK"), SOME("SOME"), ANY("ANY"), - EOF, - ERROR, + EOF, ERROR, IDENTIFIER, HINT, // QS_TODO add support in Lexer - SYS_VAR, - USR_VAR, + SYS_VAR, USR_VAR, /** number composed purely of digit */ LITERAL_NUM_PURE_DIGIT, /** number composed of digit mixed with . or e */ @@ -51,10 +45,9 @@ public enum Token { // QS_TODO remove alias token LITERAL_ALIAS, - LPAREN("("), RPAREN(")"), LBRACE("{"), RBRACE("}"), LBRACKET("["), RBRACKET("]"), SEMI(";"), COMMA(","), DOT("."), - EQ("="), GT(">"), LT("<"), BANG("!"), TILDE("~"), QUES("?"), COLON(":"), COLONEQ(":="), EQEQ("=="), LTEQ("<="), - LTEQGT("<=>"), LTGT("<>"), GTEQ(">="), BANGEQ("!="), BANGGT("!>"), BANGLT("!<"), AMPAMP("&&"), BARBAR("||"), - PLUS("+"), SUB("-"), STAR("*"), SLASH("/"), AMP("&"), BAR("|"), CARET("^"), PERCENT("%"), LTLT("<<"), GTGT(">>"), + LPAREN("("), RPAREN(")"), LBRACE("{"), RBRACE("}"), LBRACKET("["), RBRACKET("]"), SEMI(";"), COMMA(","), DOT("."), EQ("="), GT(">"), LT("<"), BANG("!"), + TILDE("~"), QUES("?"), COLON(":"), COLONEQ(":="), EQEQ("=="), LTEQ("<="), LTEQGT("<=>"), LTGT("<>"), GTEQ(">="), BANGEQ("!="), BANGGT("!>"), BANGLT("!<"), + AMPAMP("&&"), BARBAR("||"), PLUS("+"), SUB("-"), STAR("*"), SLASH("/"), AMP("&"), BAR("|"), CARET("^"), PERCENT("%"), LTLT("<<"), GTGT(">>"), MONKEYS_AT("@"); public final String name; diff --git a/src/main/java/com/alibaba/druid/stat/JdbcConnectionStat.java b/src/main/java/com/alibaba/druid/stat/JdbcConnectionStat.java index 86dbfd642f..d8c39969ce 100644 --- a/src/main/java/com/alibaba/druid/stat/JdbcConnectionStat.java +++ b/src/main/java/com/alibaba/druid/stat/JdbcConnectionStat.java @@ -325,22 +325,18 @@ public class JdbcConnectionStat implements JdbcConnectionStatMBean { return new Date(lastErrorTime); } - private static String[] indexNames = { "id", "connectTime", "connectTimespan", "establishTime", - "aliveTimespan", "lastSql", "lastError", "lastErrorTime", - "connectStatckTrace", "lastStatementStackTrace", "dataSource" }; + private static String[] indexNames = { "id", "connectTime", "connectTimespan", "establishTime", "aliveTimespan", "lastSql", "lastError", + "lastErrorTime", "connectStatckTrace", "lastStatementStackTrace", "dataSource" }; private static String[] indexDescriptions = indexNames; public static CompositeType getCompositeType() throws JMException { - OpenType[] indexTypes = new OpenType[] { SimpleType.LONG, SimpleType.DATE, SimpleType.LONG, - SimpleType.DATE, SimpleType.LONG, + OpenType[] indexTypes = new OpenType[] { SimpleType.LONG, SimpleType.DATE, SimpleType.LONG, SimpleType.DATE, SimpleType.LONG, - SimpleType.STRING, JMXUtils.getThrowableCompositeType(), SimpleType.DATE, SimpleType.STRING, - SimpleType.STRING, + SimpleType.STRING, JMXUtils.getThrowableCompositeType(), SimpleType.DATE, SimpleType.STRING, SimpleType.STRING, - SimpleType.STRING }; + SimpleType.STRING }; - return new CompositeType("ConnectionStatistic", "Connection Statistic", indexNames, indexDescriptions, - indexTypes); + return new CompositeType("ConnectionStatistic", "Connection Statistic", indexNames, indexDescriptions, indexTypes); } public String getDataSource() { diff --git a/src/main/java/com/alibaba/druid/stat/JdbcDataSourceStat.java b/src/main/java/com/alibaba/druid/stat/JdbcDataSourceStat.java index 7e0c112985..ed0e5bac9b 100644 --- a/src/main/java/com/alibaba/druid/stat/JdbcDataSourceStat.java +++ b/src/main/java/com/alibaba/druid/stat/JdbcDataSourceStat.java @@ -136,8 +136,7 @@ public class JdbcDataSourceStat implements JdbcDataSourceStatMBean { CompositeType rowType = JdbcConnectionStat.Entry.getCompositeType(); String[] indexNames = rowType.keySet().toArray(new String[rowType.keySet().size()]); - TabularType tabularType = new TabularType("ConnectionListStatistic", "ConnectionListStatistic", rowType, - indexNames); + TabularType tabularType = new TabularType("ConnectionListStatistic", "ConnectionListStatistic", rowType, indexNames); TabularData data = new TabularDataSupport(tabularType); for (Map.Entry entry : getConnections().entrySet()) { diff --git a/src/main/java/com/alibaba/druid/stat/JdbcSqlStat.java b/src/main/java/com/alibaba/druid/stat/JdbcSqlStat.java index 5f8f2d1bd7..38b3e27d74 100644 --- a/src/main/java/com/alibaba/druid/stat/JdbcSqlStat.java +++ b/src/main/java/com/alibaba/druid/stat/JdbcSqlStat.java @@ -307,16 +307,14 @@ public final class JdbcSqlStat implements JdbcSqlStatMBean { return COMPOSITE_TYPE; } - OpenType[] indexTypes = new OpenType[] { SimpleType.LONG, SimpleType.STRING, SimpleType.STRING, - SimpleType.LONG, SimpleType.LONG, SimpleType.LONG, SimpleType.DATE, SimpleType.LONG, - JMXUtils.getThrowableCompositeType(), SimpleType.LONG, SimpleType.LONG, SimpleType.DATE, - SimpleType.LONG, SimpleType.LONG, SimpleType.LONG, SimpleType.LONG, SimpleType.STRING, - SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.DATE }; + OpenType[] indexTypes = new OpenType[] { SimpleType.LONG, SimpleType.STRING, SimpleType.STRING, SimpleType.LONG, SimpleType.LONG, + SimpleType.LONG, SimpleType.DATE, SimpleType.LONG, JMXUtils.getThrowableCompositeType(), SimpleType.LONG, SimpleType.LONG, SimpleType.DATE, + SimpleType.LONG, SimpleType.LONG, SimpleType.LONG, SimpleType.LONG, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, + SimpleType.STRING, SimpleType.DATE }; - String[] indexNames = { "ID", "DataSource", "SQL", "ExecuteCount", "ErrorCount", "TotalTime", "LastTime", - "MaxTimespan", "LastError", "EffectedRowCount", "FetchRowCount", "MaxTimespanOccurTime", - "BatchSizeMax", "BatchSizeTotal", "ConcurrentMax", "RunningCount", "Name", "File", "LastErrorMessage", - "LastErrorClass", "LastErrorStackTrace", "LastErrorTime" }; + String[] indexNames = { "ID", "DataSource", "SQL", "ExecuteCount", "ErrorCount", "TotalTime", "LastTime", "MaxTimespan", "LastError", + "EffectedRowCount", "FetchRowCount", "MaxTimespanOccurTime", "BatchSizeMax", "BatchSizeTotal", "ConcurrentMax", "RunningCount", "Name", "File", + "LastErrorMessage", "LastErrorClass", "LastErrorStackTrace", "LastErrorTime" }; String[] indexDescriptions = indexNames; COMPOSITE_TYPE = new CompositeType("SqlStatistic", "Sql Statistic", indexNames, indexDescriptions, indexTypes); diff --git a/src/main/java/com/alibaba/druid/util/DruidLoaderUtils.java b/src/main/java/com/alibaba/druid/util/DruidLoaderUtils.java index 56bc0daaa7..d3e5c4802a 100644 --- a/src/main/java/com/alibaba/druid/util/DruidLoaderUtils.java +++ b/src/main/java/com/alibaba/druid/util/DruidLoaderUtils.java @@ -30,8 +30,7 @@ import com.alibaba.druid.proxy.config.AbstractDruidFilterConfig; */ public class DruidLoaderUtils { - public static void loadFilter(List filterList, List druidFilterConfigList) - throws SQLException { + public static void loadFilter(List filterList, List druidFilterConfigList) throws SQLException { for (Iterator iterator = druidFilterConfigList.iterator(); iterator.hasNext();) { AbstractDruidFilterConfig druidFilterConfig = iterator.next(); String filterItem = druidFilterConfig.getClazz(); diff --git a/src/main/java/com/alibaba/druid/util/JMXUtils.java b/src/main/java/com/alibaba/druid/util/JMXUtils.java index bbf002727a..839c73f0b4 100644 --- a/src/main/java/com/alibaba/druid/util/JMXUtils.java +++ b/src/main/java/com/alibaba/druid/util/JMXUtils.java @@ -68,15 +68,13 @@ public final class JMXUtils { private static final String[] THROWABLE_COMPOSITE_INDEX_NAMES = { "message", "class", "stackTrace" }; private static final String[] THROWABLE_COMPOSITE_INDEX_DESCRIPTIONS = { "message", "class", "stackTrace" }; - private static final OpenType[] THROWABLE_COMPOSITE_INDEX_TYPES = new OpenType[] { SimpleType.STRING, - SimpleType.STRING, SimpleType.STRING }; + private static final OpenType[] THROWABLE_COMPOSITE_INDEX_TYPES = new OpenType[] { SimpleType.STRING, SimpleType.STRING, SimpleType.STRING }; private static CompositeType THROWABLE_COMPOSITE_TYPE = null; public static CompositeType getThrowableCompositeType() throws JMException { if (THROWABLE_COMPOSITE_TYPE == null) { - THROWABLE_COMPOSITE_TYPE = new CompositeType("Throwable", "Throwable", THROWABLE_COMPOSITE_INDEX_NAMES, - THROWABLE_COMPOSITE_INDEX_DESCRIPTIONS, + THROWABLE_COMPOSITE_TYPE = new CompositeType("Throwable", "Throwable", THROWABLE_COMPOSITE_INDEX_NAMES, THROWABLE_COMPOSITE_INDEX_DESCRIPTIONS, THROWABLE_COMPOSITE_INDEX_TYPES); } diff --git a/src/test/java/com/alibaba/druid/TestReplaceLicense.java b/src/test/java/com/alibaba/druid/TestReplaceLicense.java index 43ec88ddc0..bd9b9a60e5 100644 --- a/src/test/java/com/alibaba/druid/TestReplaceLicense.java +++ b/src/test/java/com/alibaba/druid/TestReplaceLicense.java @@ -40,8 +40,7 @@ public class TestReplaceLicense extends TestCase { reader.close(); System.out.println(license); - lineSeparator = (String) java.security.AccessController.doPrivileged(new sun.security.action.GetPropertyAction( - "line.separator")); + lineSeparator = (String) java.security.AccessController.doPrivileged(new sun.security.action.GetPropertyAction("line.separator")); } public void test_0() throws Exception { diff --git a/src/test/java/com/alibaba/druid/benckmark/BenchmarkExecutor.java b/src/test/java/com/alibaba/druid/benckmark/BenchmarkExecutor.java index 375811b233..4a7cad4388 100644 --- a/src/test/java/com/alibaba/druid/benckmark/BenchmarkExecutor.java +++ b/src/test/java/com/alibaba/druid/benckmark/BenchmarkExecutor.java @@ -98,8 +98,8 @@ public class BenchmarkExecutor { } NumberFormat format = NumberFormat.getInstance(); - System.out.println("SUM\t" + benchmarkCase.getName() + "\t" + sqlExec.getName() + "\t" + format.format(millis) - + "\tYoungGC " + youngGC + "\tFullGC " + fullGC); + System.out.println("SUM\t" + benchmarkCase.getName() + "\t" + sqlExec.getName() + "\t" + format.format(millis) + "\tYoungGC " + youngGC + "\tFullGC " + + fullGC); } public void handleResult(SQLExecutor sqlExec, Result result) { @@ -108,8 +108,8 @@ public class BenchmarkExecutor { return; } NumberFormat format = NumberFormat.getInstance(); - System.out.println(result.getName() + "\t" + sqlExec.getName() + "\t" + format.format(result.getMillis()) - + "\tYoungGC " + result.getYoungGC() + "\tFullGC " + result.getFullGC()); + System.out.println(result.getName() + "\t" + sqlExec.getName() + "\t" + format.format(result.getMillis()) + "\tYoungGC " + result.getYoungGC() + + "\tFullGC " + result.getFullGC()); } private Result executeLoop(SQLExecutor sqlExec, BenchmarkCase benchmarkCase) { diff --git a/src/test/java/com/alibaba/druid/benckmark/sqlcase/SelectEmptyTable.java b/src/test/java/com/alibaba/druid/benckmark/sqlcase/SelectEmptyTable.java index 565bc08df1..538a7f9885 100644 --- a/src/test/java/com/alibaba/druid/benckmark/sqlcase/SelectEmptyTable.java +++ b/src/test/java/com/alibaba/druid/benckmark/sqlcase/SelectEmptyTable.java @@ -39,8 +39,7 @@ public class SelectEmptyTable extends BenchmarkCase { tableName = "T_" + System.currentTimeMillis(); - createTableSql = "CREATE TABLE " + tableName - + "(F1 INT, F2 INT, F3 INT, F4 INT, F5 INT, F6 INT, F7 INT, F8 INT, F9 INT)"; + createTableSql = "CREATE TABLE " + tableName + "(F1 INT, F2 INT, F3 INT, F4 INT, F5 INT, F6 INT, F7 INT, F8 INT, F9 INT)"; dropTableSql = "DROP TABLE " + tableName; sql = "SELECT * FROM T_" + tableName; } diff --git a/src/test/java/com/alibaba/druid/bvt/mock/MockExecuteTest.java b/src/test/java/com/alibaba/druid/bvt/mock/MockExecuteTest.java index 0e065f0821..5412651e36 100644 --- a/src/test/java/com/alibaba/druid/bvt/mock/MockExecuteTest.java +++ b/src/test/java/com/alibaba/druid/bvt/mock/MockExecuteTest.java @@ -11,42 +11,43 @@ import junit.framework.TestCase; import org.junit.Assert; public class MockExecuteTest extends TestCase { - public void test_0 () throws Exception { + + public void test_0() throws Exception { Connection conn = DriverManager.getConnection("jdbc:mock:"); Statement stmt = conn.createStatement(); - + ResultSet rs = stmt.executeQuery("SELECT 2"); Assert.assertTrue(rs.next()); Assert.assertEquals(2, rs.getInt(1)); rs.close(); - + stmt.close(); conn.close(); } - - public void test_1 () throws Exception { + + public void test_1() throws Exception { Connection conn = DriverManager.getConnection("jdbc:mock:"); Statement stmt = conn.createStatement(); - + ResultSet rs = stmt.executeQuery("SELECT NULL"); Assert.assertTrue(rs.next()); Assert.assertEquals(0, rs.getInt(1)); Assert.assertEquals(null, rs.getObject(1)); rs.close(); - + stmt.close(); conn.close(); } - - public void test_2 () throws Exception { + + public void test_2() throws Exception { Connection conn = DriverManager.getConnection("jdbc:mock:"); Statement stmt = conn.createStatement(); - + ResultSet rs = stmt.executeQuery("SELECT NOW()"); Assert.assertTrue(rs.next()); Assert.assertTrue(rs.getObject(1) instanceof Timestamp); rs.close(); - + stmt.close(); conn.close(); } diff --git a/src/test/java/com/alibaba/druid/bvt/mock/MockResultSetMetaDataTest.java b/src/test/java/com/alibaba/druid/bvt/mock/MockResultSetMetaDataTest.java index 096602e0d9..5892be51e0 100644 --- a/src/test/java/com/alibaba/druid/bvt/mock/MockResultSetMetaDataTest.java +++ b/src/test/java/com/alibaba/druid/bvt/mock/MockResultSetMetaDataTest.java @@ -9,6 +9,7 @@ import org.junit.Assert; import com.alibaba.druid.mock.MockResultSetMetaData; public class MockResultSetMetaDataTest extends TestCase { + public void test_resultSet_metadata() throws Exception { MockResultSetMetaData meta = new MockResultSetMetaData(); Assert.assertTrue(meta.isWrapperFor(MockResultSetMetaData.class)); diff --git a/src/test/java/com/alibaba/druid/bvt/pool/DruidDataSourceFilterTest.java b/src/test/java/com/alibaba/druid/bvt/pool/DruidDataSourceFilterTest.java index dcd39c3a9e..87927df5ca 100644 --- a/src/test/java/com/alibaba/druid/bvt/pool/DruidDataSourceFilterTest.java +++ b/src/test/java/com/alibaba/druid/bvt/pool/DruidDataSourceFilterTest.java @@ -56,10 +56,10 @@ public class DruidDataSourceFilterTest extends TestCase { Assert.assertEquals(0, JdbcStatManager.getInstance().getConnectionstat().getCloseCount()); // logic // close不会导致计数器+1 } - + dataSource.close(); - + Assert.assertEquals(1, JdbcStatManager.getInstance().getConnectionstat().getConnectCount()); - Assert.assertEquals(1, JdbcStatManager.getInstance().getConnectionstat().getCloseCount()); + Assert.assertEquals(1, JdbcStatManager.getInstance().getConnectionstat().getCloseCount()); } } diff --git a/src/test/java/com/alibaba/druid/bvt/pool/SpringFilterTest.java b/src/test/java/com/alibaba/druid/bvt/pool/SpringFilterTest.java index cc48c14c36..e1f0aff0ad 100644 --- a/src/test/java/com/alibaba/druid/bvt/pool/SpringFilterTest.java +++ b/src/test/java/com/alibaba/druid/bvt/pool/SpringFilterTest.java @@ -18,26 +18,28 @@ import com.alibaba.druid.filter.FilterChain; import com.alibaba.druid.proxy.jdbc.ConnectionProxy; public class SpringFilterTest extends TestCase { + public void test_spring() throws Exception { ApplicationContext context = new ClassPathXmlApplicationContext("com/alibaba/druid/pool/spring-config-1.xml"); - + DataSource dataSource = (DataSource) context.getBean("dataSource"); Connection conn = dataSource.getConnection(); conn.close(); - + TestFilter filter = (TestFilter) context.getBean("test-filter"); Assert.assertEquals(1, filter.getConnectCount()); } - + public static class TestFilter extends FilterAdapter { + private AtomicLong connectCount = new AtomicLong(); - + @Override public ConnectionProxy connection_connect(FilterChain chain, Properties info) throws SQLException { connectCount.incrementAndGet(); return chain.connection_connect(info); } - + public long getConnectCount() { return connectCount.get(); } diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/BasicTypeTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/BasicTypeTest.java index e7764988f7..b9605866c3 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/BasicTypeTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/BasicTypeTest.java @@ -53,9 +53,7 @@ public class BasicTypeTest extends TestCase { Statement stmt = conn.createStatement(); stmt.execute("CREATE TABLE T_BASIC_TYPE (F1 FLOAT, F2 DOUBLE, F3 REAL, F4 DATE, F5 TIME, F6 SMALLINT, F7 SMALLINT, F8 INTEGER, F9 BIGINT, F10 DECIMAL(9,2), F11 TIMESTAMP, F12 BLOB, F13 VARCHAR(256), F14 VARCHAR(256), F15 VARCHAR(256), F16 VARCHAR(256), F17 SMALLINT)"); stmt.execute("CREATE PROCEDURE BASIC_CALL_0(INOUT F1 FLOAT, INOUT F2 DOUBLE, INOUT F3 REAL, INOUT F4 DATE, INOUT F5 TIME, INOUT F6 SMALLINT, INOUT F7 SMALLINT, INOUT F8 INTEGER, INOUT F9 BIGINT, INOUT F10 DECIMAL(9,2), INOUT F11 TIMESTAMP, INOUT F12 VARCHAR(128) FOR BIT DATA, INOUT F13 VARCHAR(256), INOUT F14 VARCHAR(256), INOUT F15 VARCHAR(256), INOUT F16 VARCHAR(256), INOUT F17 SMALLINT) " - + "LANGUAGE JAVA PARAMETER STYLE JAVA EXTERNAL NAME '" - + BasicTypeTest.class.getName() - + ".basic_process_0' " + "DYNAMIC RESULT SETS 1"); + + "LANGUAGE JAVA PARAMETER STYLE JAVA EXTERNAL NAME '" + BasicTypeTest.class.getName() + ".basic_process_0' " + "DYNAMIC RESULT SETS 1"); stmt.close(); conn.close(); } @@ -125,8 +123,7 @@ public class BasicTypeTest extends TestCase { stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); stmt.close(); - stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, - ResultSet.CLOSE_CURSORS_AT_COMMIT); + stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, ResultSet.CLOSE_CURSORS_AT_COMMIT); stmt.setQueryTimeout(stmt.getQueryTimeout()); stmt.setEscapeProcessing(true); stmt.clearBatch(); @@ -252,12 +249,11 @@ public class BasicTypeTest extends TestCase { pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE"); JdbcUtils.close(pstmt); - pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE", - new int[] { 1, 2 }); + pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE", new int[] { 1, 2 }); JdbcUtils.close(pstmt); - pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE", - new String[] { "F1", "F2" }); + pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE", new String[] { + "F1", "F2" }); JdbcUtils.close(pstmt); pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE", @@ -270,8 +266,7 @@ public class BasicTypeTest extends TestCase { JdbcUtils.close(pstmt); pstmt = conn.prepareStatement("SELECT F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16 FROM T_BASIC_TYPE", - ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, - ResultSet.CLOSE_CURSORS_AT_COMMIT); + ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, ResultSet.CLOSE_CURSORS_AT_COMMIT); JdbcUtils.close(pstmt); cstmt = conn.prepareCall("CALL BASIC_CALL_0(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?, ?, ?, ?)"); @@ -691,10 +686,9 @@ public class BasicTypeTest extends TestCase { } } - public static void basic_process_0(double[] p1, double[] p2, float[] p3, java.sql.Date[] p4, java.sql.Time[] p5, - short[] p6, short[] p7, int[] p8, long[] p9, BigDecimal[] p10, - java.sql.Timestamp[] p11, byte[][] p12, String[] p13, String[] p14, - String[] p15, String[] p16, short[] P17, ResultSet[] p18) { + public static void basic_process_0(double[] p1, double[] p2, float[] p3, java.sql.Date[] p4, java.sql.Time[] p5, short[] p6, short[] p7, int[] p8, + long[] p9, BigDecimal[] p10, java.sql.Timestamp[] p11, byte[][] p12, String[] p13, String[] p14, String[] p15, + String[] p16, short[] P17, ResultSet[] p18) { // stmt.execute("CREATE TABLE T_BASIC_TYPE (F1 FLOAT, F2 DOUBLE, F3 // REAL, F4 DATE, // F5 TIME, F6 SMALLINT, F7 SMALLINT, F8 INTEGER, F9 BIGINT, F10 diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/BlobTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/BlobTest.java index 453c75dc85..33ec4a1d94 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/BlobTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/BlobTest.java @@ -102,8 +102,7 @@ public class BlobTest extends TestCase { updateCount = pstmt.executeUpdate(); Assert.assertEquals(1, updateCount); - stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, - ResultSet.CLOSE_CURSORS_AT_COMMIT); + stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, ResultSet.CLOSE_CURSORS_AT_COMMIT); conn.nativeSQL("SELECT ID, DATA FROM T_BLOB"); // ////// diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/CallStatementTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/CallStatementTest.java index 82355179ca..92e55c4f0a 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/CallStatementTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/CallStatementTest.java @@ -34,24 +34,20 @@ public class CallStatementTest extends TestCase { */ private static final String[] PROCEDURES = { - "CREATE PROCEDURE RETRIEVE_DYNAMIC_RESULTS(number INT) " - + "LANGUAGE JAVA PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() + "CREATE PROCEDURE RETRIEVE_DYNAMIC_RESULTS(number INT) " + "LANGUAGE JAVA PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() + ".retrieveDynamicResults' " + "DYNAMIC RESULT SETS 4", - "CREATE PROCEDURE RETRIEVE_CLOSED_RESULT() LANGUAGE JAVA " + "PARAMETER STYLE JAVA EXTERNAL NAME '" - + CallStatementTest.class.getName() + ".retrieveClosedResult' " + "DYNAMIC RESULT SETS 1", + "CREATE PROCEDURE RETRIEVE_CLOSED_RESULT() LANGUAGE JAVA " + "PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() + + ".retrieveClosedResult' " + "DYNAMIC RESULT SETS 1", - "CREATE PROCEDURE RETRIEVE_EXTERNAL_RESULT(" - + "DBNAME VARCHAR(128), DBUSER VARCHAR(128), DBPWD VARCHAR(128)) LANGUAGE JAVA " - + "PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() - + ".retrieveExternalResult' " + "DYNAMIC RESULT SETS 1", + "CREATE PROCEDURE RETRIEVE_EXTERNAL_RESULT(" + "DBNAME VARCHAR(128), DBUSER VARCHAR(128), DBPWD VARCHAR(128)) LANGUAGE JAVA " + + "PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() + ".retrieveExternalResult' " + "DYNAMIC RESULT SETS 1", - "CREATE PROCEDURE PROC_WITH_SIDE_EFFECTS(ret INT) LANGUAGE JAVA " + "PARAMETER STYLE JAVA EXTERNAL NAME '" - + CallStatementTest.class.getName() + ".procWithSideEffects' " + "DYNAMIC RESULT SETS 2", + "CREATE PROCEDURE PROC_WITH_SIDE_EFFECTS(ret INT) LANGUAGE JAVA " + "PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() + + ".procWithSideEffects' " + "DYNAMIC RESULT SETS 2", - "CREATE PROCEDURE NESTED_RESULT_SETS(proctext VARCHAR(128)) LANGUAGE JAVA " - + "PARAMETER STYLE JAVA EXTERNAL NAME '" + CallStatementTest.class.getName() - + ".nestedDynamicResultSets' " + "DYNAMIC RESULT SETS 6" + "CREATE PROCEDURE NESTED_RESULT_SETS(proctext VARCHAR(128)) LANGUAGE JAVA " + "PARAMETER STYLE JAVA EXTERNAL NAME '" + + CallStatementTest.class.getName() + ".nestedDynamicResultSets' " + "DYNAMIC RESULT SETS 6" }; @@ -135,8 +131,7 @@ public class CallStatementTest extends TestCase { connect.close(); } - public static void retrieveExternalResult(String dbName, String user, String password, ResultSet[] external) - throws SQLException { + public static void retrieveExternalResult(String dbName, String user, String password, ResultSet[] external) throws SQLException { Connection conn = DriverManager.getConnection(create_url); @@ -195,8 +190,7 @@ public class CallStatementTest extends TestCase { conn.close(); } - public static void fivejp(ResultSet[] data1, ResultSet[] data2, ResultSet[] data3, ResultSet[] data4, - ResultSet[] data5) throws SQLException { + public static void fivejp(ResultSet[] data1, ResultSet[] data2, ResultSet[] data3, ResultSet[] data4, ResultSet[] data5) throws SQLException { Connection conn = DriverManager.getConnection("jdbc:default:connection"); @@ -246,8 +240,7 @@ public class CallStatementTest extends TestCase { conn.close(); } - public static void parameter2(int a, java.math.BigDecimal b, java.math.BigDecimal c, java.sql.ResultSet[] rs) - throws SQLException { + public static void parameter2(int a, java.math.BigDecimal b, java.math.BigDecimal c, java.sql.ResultSet[] rs) throws SQLException { Connection conn = DriverManager.getConnection("jdbc:default:connection"); PreparedStatement ps = conn.prepareStatement("insert into PT1 values (?, ?, ?)"); ps.setInt(1, a); @@ -261,8 +254,7 @@ public class CallStatementTest extends TestCase { conn.close(); } - public static void retrieveDynamicResults(int number, ResultSet[] rs1, ResultSet[] rs2, ResultSet[] rs3, - ResultSet[] rs4) throws SQLException { + public static void retrieveDynamicResults(int number, ResultSet[] rs1, ResultSet[] rs2, ResultSet[] rs3, ResultSet[] rs4) throws SQLException { Connection c = DriverManager.getConnection("jdbc:default:connection"); if (number > 0) { rs1[0] = c.createStatement().executeQuery("VALUES(1)"); diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/ClobTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/ClobTest.java index 84d6cb3574..fd43279aa7 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/ClobTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/ClobTest.java @@ -102,8 +102,7 @@ public class ClobTest extends TestCase { updateCount = pstmt.executeUpdate(); Assert.assertEquals(1, updateCount); - stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, - ResultSet.CLOSE_CURSORS_AT_COMMIT); + stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, ResultSet.CLOSE_CURSORS_AT_COMMIT); // ////// rs = stmt.executeQuery("SELECT ID, DATA FROM T_CLOB"); diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/DruidDriverTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/DruidDriverTest.java index c083ee1eef..eee86ff215 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/DruidDriverTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/DruidDriverTest.java @@ -85,8 +85,7 @@ public class DruidDriverTest extends TestCase { public void test_getRawDriverClassName() throws Exception { Assert.assertEquals("com.mysql.jdbc.Driver", JdbcUtils.getDriverClassName("jdbc:mysql:")); Assert.assertEquals("oracle.jdbc.driver.OracleDriver", JdbcUtils.getDriverClassName("jdbc:oracle:")); - Assert.assertEquals("com.microsoft.jdbc.sqlserver.SQLServerDriver", - JdbcUtils.getDriverClassName("jdbc:microsoft:")); + Assert.assertEquals("com.microsoft.jdbc.sqlserver.SQLServerDriver", JdbcUtils.getDriverClassName("jdbc:microsoft:")); Assert.assertEquals("org.postgresql.Driver", JdbcUtils.getDriverClassName("jdbc:postgresql:xx")); Assert.assertEquals("net.sourceforge.jtds.jdbc.Driver", JdbcUtils.getDriverClassName("jdbc:jtds:")); { @@ -186,8 +185,7 @@ public class DruidDriverTest extends TestCase { Exception error = null; try { driver.connect("jdbc:wrap-jdbc:filters=" + PrivateJdbcFilterAdapter.class.getName() - + ":name=driverWrapperTest:jdbc:derby:memory:driverWrapperTestDB;create=true", - new Properties()).close(); + + ":name=driverWrapperTest:jdbc:derby:memory:driverWrapperTestDB;create=true", new Properties()).close(); } catch (Exception ex) { error = ex; } @@ -197,8 +195,7 @@ public class DruidDriverTest extends TestCase { Exception error = null; try { driver.connect("jdbc:wrap-jdbc:filters=" + InitErrorJdbcFilterAdapter.class.getName() - + ":name=driverWrapperTest:jdbc:derby:memory:driverWrapperTestDB;create=true", - new Properties()).close(); + + ":name=driverWrapperTest:jdbc:derby:memory:driverWrapperTestDB;create=true", new Properties()).close(); } catch (Exception ex) { error = ex; } diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/JdbcFilterEventAdapterTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/JdbcFilterEventAdapterTest.java index 2f2c00a6cd..a38f0caa0c 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/JdbcFilterEventAdapterTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/JdbcFilterEventAdapterTest.java @@ -105,8 +105,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { throw new SQLException(); } }; @@ -123,8 +122,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { throw new RuntimeException(); } }; @@ -141,8 +139,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { throw new Error(); } }; @@ -161,8 +158,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { throw new SQLException(); } }; @@ -179,8 +175,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { throw new RuntimeException(); } }; @@ -197,8 +192,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { throw new Error(); } }; @@ -217,8 +211,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, String columnNames[]) throws SQLException { throw new SQLException(); } }; @@ -235,8 +228,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, String columnNames[]) throws SQLException { throw new RuntimeException(); } }; @@ -253,8 +245,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public boolean statement_execute(StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public boolean statement_execute(StatementProxy statement, String sql, String columnNames[]) throws SQLException { throw new Error(); } }; @@ -487,8 +478,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { throw new SQLException(); } }; @@ -505,8 +495,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { throw new RuntimeException(); } }; @@ -523,8 +512,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, int autoGeneratedKeys) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, int autoGeneratedKeys) throws SQLException { throw new Error(); } }; @@ -543,8 +531,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { throw new SQLException(); } }; @@ -561,8 +548,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { throw new RuntimeException(); } }; @@ -579,8 +565,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, int columnIndexes[]) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, int columnIndexes[]) throws SQLException { throw new Error(); } }; @@ -599,8 +584,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, String columnNames[]) throws SQLException { throw new SQLException(); } }; @@ -617,8 +601,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, String columnNames[]) throws SQLException { throw new RuntimeException(); } }; @@ -635,8 +618,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public int statement_executeUpdate(StatementProxy statement, String sql, String columnNames[]) - throws SQLException { + public int statement_executeUpdate(StatementProxy statement, String sql, String columnNames[]) throws SQLException { throw new Error(); } }; @@ -733,8 +715,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) - throws SQLException { + public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) throws SQLException { throw new SQLException(); } }; @@ -751,8 +732,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) - throws SQLException { + public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) throws SQLException { throw new RuntimeException(); } }; @@ -769,8 +749,7 @@ public class JdbcFilterEventAdapterTest extends TestCase { { FilterChain chain = new FilterChainImpl(new DataSourceProxyImpl(null, config)) { - public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) - throws SQLException { + public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) throws SQLException { throw new Error(); } }; diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/PrecallTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/PrecallTest.java index 7685b84741..a21f21654d 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/PrecallTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/PrecallTest.java @@ -77,12 +77,11 @@ public class PrecallTest extends TestCase { try { conn = DriverManager.getConnection(create_url); - cstmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, ?)", ResultSet.FETCH_FORWARD, - ResultSet.CONCUR_READ_ONLY); + cstmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, ?)", ResultSet.FETCH_FORWARD, ResultSet.CONCUR_READ_ONLY); cstmt.close(); - cstmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, ?)", ResultSet.FETCH_FORWARD, - ResultSet.CONCUR_READ_ONLY, ResultSet.CLOSE_CURSORS_AT_COMMIT); + cstmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, ?)", ResultSet.FETCH_FORWARD, ResultSet.CONCUR_READ_ONLY, + ResultSet.CLOSE_CURSORS_AT_COMMIT); cstmt.close(); cstmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, ?)"); diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/PreparedStatementTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/PreparedStatementTest.java index 6462e254da..d7c2b1a29b 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/PreparedStatementTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/PreparedStatementTest.java @@ -77,8 +77,7 @@ public class PreparedStatementTest extends TestCase { try { conn = DriverManager.getConnection(create_url); - pstmt = conn.prepareStatement("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (?, ?, ?)", - Statement.RETURN_GENERATED_KEYS); + pstmt = conn.prepareStatement("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (?, ?, ?)", Statement.RETURN_GENERATED_KEYS); pstmt.setShort(1, (short) 1); pstmt.setString(2, "A"); @@ -165,8 +164,7 @@ public class PreparedStatementTest extends TestCase { } pstmt.execute(); - pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_SENSITIVE, - ResultSet.CONCUR_UPDATABLE); + pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); rs = pstmt2.executeQuery(); rs.getCursorName(); rs.clearWarnings(); @@ -196,15 +194,14 @@ public class PreparedStatementTest extends TestCase { rs.last(); rs.close(); - pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_SENSITIVE, - ResultSet.CONCUR_UPDATABLE); + pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); rs = pstmt2.executeQuery(); rs.first(); rs.last(); rs.close(); - pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_SENSITIVE, - ResultSet.CONCUR_UPDATABLE, ResultSet.CLOSE_CURSORS_AT_COMMIT); + pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE, + ResultSet.CLOSE_CURSORS_AT_COMMIT); rs = pstmt2.executeQuery(); rs.first(); rs.last(); @@ -285,8 +282,7 @@ public class PreparedStatementTest extends TestCase { JdbcUtils.printResultSet(rs, System.out); rs.close(); - pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", - ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); + pstmt2 = conn.prepareStatement("SELECT * FROM T_PRE_STMT_TEST ORDER BY 2", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); rs = pstmt2.executeQuery(); rs.next(); try { diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/StatementTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/StatementTest.java index 2e0a6bde71..91b3e01c00 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/StatementTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/StatementTest.java @@ -72,18 +72,13 @@ public class StatementTest extends TestCase { stmt = conn.createStatement(); stmt.execute("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (1, 'A', NULL)"); - stmt.execute("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (11, 'A1', NULL)", - Statement.NO_GENERATED_KEYS); + stmt.execute("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (11, 'A1', NULL)", Statement.NO_GENERATED_KEYS); stmt.execute("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (12, 'A2', NULL)", new int[] { 1 }); - stmt.execute("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (12, 'A3', NULL)", - new String[] { "ID" }); + stmt.execute("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (12, 'A3', NULL)", new String[] { "ID" }); stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (2, 'B', NULL)"); - stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (3, 'C', NULL)", - Statement.NO_GENERATED_KEYS); - stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (4, 'D', NULL)", - new int[] { 1 }); - stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (5, 'E', NULL)", - new String[] { "ID" }); + stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (3, 'C', NULL)", Statement.NO_GENERATED_KEYS); + stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (4, 'D', NULL)", new int[] { 1 }); + stmt.executeUpdate("INSERT INTO T_PRE_STMT_TEST (ID, NAME, BIRTHDATE) VALUES (5, 'E', NULL)", new String[] { "ID" }); try { stmt.cancel(); } catch (SQLFeatureNotSupportedException ex) { diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/config/DruidConfigLoaderTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/config/DruidConfigLoaderTest.java index a0422cebbf..ecd3830b82 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/config/DruidConfigLoaderTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/config/DruidConfigLoaderTest.java @@ -45,8 +45,7 @@ public class DruidConfigLoaderTest extends TestCase { Assert.assertEquals("gbk", druidConfig.getClientEncoding()); Assert.assertEquals("utf8", druidConfig.getServerEncoding()); } else if ("stat".equalsIgnoreCase(abstractDruidFilterConfig.getName())) { - Assert.assertEquals("com.alibaba.druid.proxy.filter.stat.StatFilter", - abstractDruidFilterConfig.getClazz()); + Assert.assertEquals("com.alibaba.druid.proxy.filter.stat.StatFilter", abstractDruidFilterConfig.getClazz()); } } diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/filter/ClobTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/filter/ClobTest.java index a41936acce..3199744799 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/filter/ClobTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/filter/ClobTest.java @@ -26,7 +26,7 @@ public class ClobTest extends TestCase { ResultSet rs = stmt.executeQuery("SELECT NULL"); Assert.assertTrue(rs.next()); - + { Clob x = rs.getClob(1); Assert.assertNull(x); diff --git a/src/test/java/com/alibaba/druid/bvt/proxy/utils/DruidLoaderUtilsTest.java b/src/test/java/com/alibaba/druid/bvt/proxy/utils/DruidLoaderUtilsTest.java index ac3b4917ef..68971e7408 100644 --- a/src/test/java/com/alibaba/druid/bvt/proxy/utils/DruidLoaderUtilsTest.java +++ b/src/test/java/com/alibaba/druid/bvt/proxy/utils/DruidLoaderUtilsTest.java @@ -79,8 +79,7 @@ public class DruidLoaderUtilsTest extends TestCase { DruidLoaderUtils.loadFilter(filters, filterItem); filterConfig = filters.get(0); Assert.assertNotNull(filterConfig); - Assert.assertEquals("com.alibaba.druid.filter.encoding.EncodingConvertFilter", - filterConfig.getClass().getName()); + Assert.assertEquals("com.alibaba.druid.filter.encoding.EncodingConvertFilter", filterConfig.getClass().getName()); // 判定重复 filterItem = "stat"; filters.clear(); @@ -115,10 +114,8 @@ public class DruidLoaderUtilsTest extends TestCase { Assert.assertEquals(null, DruidLoaderUtils.loadClass2(null)); Assert.assertEquals(null, DruidLoaderUtils.loadClass("xxx")); Assert.assertEquals(null, DruidLoaderUtils.loadClass2("xxx")); - Assert.assertEquals(PublicJdbcFilterAdapter.class, - DruidLoaderUtils.loadClass(PublicJdbcFilterAdapter.class.getName())); - Assert.assertEquals(PublicJdbcFilterAdapter.class, - DruidLoaderUtils.loadClass2(PublicJdbcFilterAdapter.class.getName())); + Assert.assertEquals(PublicJdbcFilterAdapter.class, DruidLoaderUtils.loadClass(PublicJdbcFilterAdapter.class.getName())); + Assert.assertEquals(PublicJdbcFilterAdapter.class, DruidLoaderUtils.loadClass2(PublicJdbcFilterAdapter.class.getName())); Assert.assertNull(DruidLoaderUtils.loadClass(null)); Assert.assertNull(DruidLoaderUtils.loadClass("")); } diff --git a/src/test/java/com/alibaba/druid/pool/benckmark/Case0.java b/src/test/java/com/alibaba/druid/pool/benckmark/Case0.java index 226ceb932f..425af54bc7 100644 --- a/src/test/java/com/alibaba/druid/pool/benckmark/Case0.java +++ b/src/test/java/com/alibaba/druid/pool/benckmark/Case0.java @@ -130,7 +130,6 @@ public class Case0 extends TestCase { long ygc = TestUtil.getYoungGC() - startYGC; long fullGC = TestUtil.getFullGC() - startFullGC; - System.out.println(name + " millis : " + NumberFormat.getInstance().format(millis) + ", YGC " + ygc + " FGC " - + fullGC); + System.out.println(name + " millis : " + NumberFormat.getInstance().format(millis) + ", YGC " + ygc + " FGC " + fullGC); } } diff --git a/src/test/java/com/alibaba/druid/pool/benckmark/Case1.java b/src/test/java/com/alibaba/druid/pool/benckmark/Case1.java index 3b696badb3..6927bb2286 100644 --- a/src/test/java/com/alibaba/druid/pool/benckmark/Case1.java +++ b/src/test/java/com/alibaba/druid/pool/benckmark/Case1.java @@ -152,7 +152,6 @@ public class Case1 extends TestCase { long ygc = TestUtil.getYoungGC() - startYGC; long fullGC = TestUtil.getFullGC() - startFullGC; - System.out.println("thread " + threadCount + " " + name + " millis : " - + NumberFormat.getInstance().format(millis) + ", YGC " + ygc + " FGC " + fullGC); + System.out.println("thread " + threadCount + " " + name + " millis : " + NumberFormat.getInstance().format(millis) + ", YGC " + ygc + " FGC " + fullGC); } } diff --git a/src/test/java/com/alibaba/druid/sql/mysql/bvt/CastFunctionsAndOperatorsTest.java b/src/test/java/com/alibaba/druid/sql/mysql/bvt/CastFunctionsAndOperatorsTest.java index 03ed97e596..63d8bc591c 100644 --- a/src/test/java/com/alibaba/druid/sql/mysql/bvt/CastFunctionsAndOperatorsTest.java +++ b/src/test/java/com/alibaba/druid/sql/mysql/bvt/CastFunctionsAndOperatorsTest.java @@ -79,8 +79,7 @@ public class CastFunctionsAndOperatorsTest extends TestCase { String text = output(stmtList); - Assert.assertEquals("SELECT 'A' LIKE CONVERT(blob_col USING latin1) COLLATE latin1_german1_ci\nFROM tbl_name;", - text); + Assert.assertEquals("SELECT 'A' LIKE CONVERT(blob_col USING latin1) COLLATE latin1_german1_ci\nFROM tbl_name;", text); } public void test_5() throws Exception { diff --git a/src/test/java/com/alibaba/druid/sql/mysql/bvt/DateAndTimeFunctionsTest.java b/src/test/java/com/alibaba/druid/sql/mysql/bvt/DateAndTimeFunctionsTest.java index 96ebd5ca64..5f9a0603b8 100644 --- a/src/test/java/com/alibaba/druid/sql/mysql/bvt/DateAndTimeFunctionsTest.java +++ b/src/test/java/com/alibaba/druid/sql/mysql/bvt/DateAndTimeFunctionsTest.java @@ -35,8 +35,7 @@ public class DateAndTimeFunctionsTest extends TestCase { String text = output(stmtList); - Assert.assertEquals("SELECT something\nFROM tbl_name\nWHERE DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date_col;", - text); + Assert.assertEquals("SELECT something\nFROM tbl_name\nWHERE DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date_col;", text); } public void test_1() throws Exception { diff --git a/src/test/java/com/alibaba/druid/sql/mysql/bvt/FullTextSearchesWithQueryExpansionTest.java b/src/test/java/com/alibaba/druid/sql/mysql/bvt/FullTextSearchesWithQueryExpansionTest.java index 7910768009..e2c8bd76c7 100644 --- a/src/test/java/com/alibaba/druid/sql/mysql/bvt/FullTextSearchesWithQueryExpansionTest.java +++ b/src/test/java/com/alibaba/druid/sql/mysql/bvt/FullTextSearchesWithQueryExpansionTest.java @@ -35,8 +35,7 @@ public class FullTextSearchesWithQueryExpansionTest extends TestCase { String text = output(stmtList); - Assert.assertEquals("SELECT *\nFROM articles\nWHERE MATCH (title, body) AGAINST ('database' IN NATURAL LANGUAGE MODE);", - text); + Assert.assertEquals("SELECT *\nFROM articles\nWHERE MATCH (title, body) AGAINST ('database' IN NATURAL LANGUAGE MODE);", text); } private String output(List stmtList) { diff --git a/src/test/java/com/alibaba/druid/sql/mysql/bvt/InsertSyntaxTest.java b/src/test/java/com/alibaba/druid/sql/mysql/bvt/InsertSyntaxTest.java index 2f04f7e4fc..feb6364df1 100644 --- a/src/test/java/com/alibaba/druid/sql/mysql/bvt/InsertSyntaxTest.java +++ b/src/test/java/com/alibaba/druid/sql/mysql/bvt/InsertSyntaxTest.java @@ -90,8 +90,7 @@ public class InsertSyntaxTest extends TestCase { String text = output(stmtList); - Assert.assertEquals("INSERT LOW_PRIORITY DELAYED HIGH_PRIORITY IGNORE INTO tbl_name (a, b, c) VALUES (1, 2, 3);", - text); + Assert.assertEquals("INSERT LOW_PRIORITY DELAYED HIGH_PRIORITY IGNORE INTO tbl_name (a, b, c) VALUES (1, 2, 3);", text); } public void test_6() throws Exception {