HHH-11617 : Fix CheckStyle failures
This commit is contained in:
parent
d6ab67ac50
commit
abbacafbae
|
@ -1,3 +1,9 @@
|
||||||
|
/*
|
||||||
|
* Hibernate, Relational Persistence for Idiomatic Java
|
||||||
|
*
|
||||||
|
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||||
|
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||||
|
*/
|
||||||
package org.hibernate.testing.jdbc;
|
package org.hibernate.testing.jdbc;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
@ -69,4 +75,4 @@ public interface PreparedStatementObserver {
|
||||||
*/
|
*/
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,7 @@ public class PreparedStatementProxyConnectionProvider extends ConnectionProvider
|
||||||
ClassLoader.getSystemClassLoader(),
|
ClassLoader.getSystemClassLoader(),
|
||||||
new Class[] { PreparedStatement.class },
|
new Class[] { PreparedStatement.class },
|
||||||
new PreparedStatementHandler( actualConnection.prepareStatement( sql ),
|
new PreparedStatementHandler( actualConnection.prepareStatement( sql ),
|
||||||
preparedStatementObserver
|
preparedStatementObserver
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
preparedStatementObserver.preparedStatementCreated( preparedStatement, sql );
|
preparedStatementObserver.preparedStatementCreated( preparedStatement, sql );
|
||||||
|
|
Loading…
Reference in New Issue