Package org.hibernate.testing.jdbc
Class SQLStatementInterceptor
- java.lang.Object
- org.hibernate.testing.jdbc.SQLStatementInterceptor
@Deprecatedpublic classSQLStatementInterceptorextendsObject
Deprecated.useSQLStatementInspectorinstead
Constructor Summary
Constructors Constructor Description SQLStatementInterceptor(Map<String,Object> settings)Deprecated.SQLStatementInterceptor(StandardServiceRegistryBuilder ssrb)Deprecated.SQLStatementInterceptor(SessionFactoryBuilder sessionFactoryBuilder)Deprecated.SQLStatementInterceptor(Configuration configuration)Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidassertExecuted(String expected)Deprecated.voidassertExecutedCount(int expected)Deprecated.voidclear()Deprecated.intgetQueryCount()Deprecated.LinkedList<String>getSqlQueries()Deprecated.
Constructor Detail
SQLStatementInterceptor
public SQLStatementInterceptor(SessionFactoryBuilder sessionFactoryBuilder)
Deprecated.
SQLStatementInterceptor
public SQLStatementInterceptor(StandardServiceRegistryBuilder ssrb)
Deprecated.
SQLStatementInterceptor
public SQLStatementInterceptor(Configuration configuration)
Deprecated.
Method Detail
getSqlQueries
public LinkedList<String> getSqlQueries()
Deprecated.
clear
public void clear()
Deprecated.
assertExecuted
public void assertExecuted(String expected)
Deprecated.
assertExecutedCount
public void assertExecutedCount(int expected)
Deprecated.
getQueryCount
public int getQueryCount()
Deprecated.