|
@@ -91,12 +91,12 @@ final class Debug {
|
|
|
static Statement proxy(Object statement, StatementProxy handler) {
|
|
|
Class<? extends Statement> i = Statement.class;
|
|
|
|
|
|
- if (statement instanceof PreparedStatement) {
|
|
|
- i = PreparedStatement.class;
|
|
|
- }
|
|
|
- else if (statement instanceof CallableStatement) {
|
|
|
+ if (statement instanceof CallableStatement) {
|
|
|
i = CallableStatement.class;
|
|
|
}
|
|
|
+ else if (statement instanceof PreparedStatement) {
|
|
|
+ i = PreparedStatement.class;
|
|
|
+ }
|
|
|
|
|
|
return createProxy(i, handler);
|
|
|
}
|