Class EmptyStatementInspector
java.lang.Object
org.hibernate.resource.jdbc.internal.EmptyStatementInspector
- All Implemented Interfaces:
Serializable
,StatementInspector
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
The singleton reference.
-
-
Constructor Details
-
EmptyStatementInspector
protected EmptyStatementInspector()
-
-
Method Details
-
inspect
Description copied from interface:StatementInspector
Inspect the given SQL command, possibly returning a different SQL command to be used instead. Anull
return value is interpreted as if the method had returned its argument.- Specified by:
inspect
in interfaceStatementInspector
- Parameters:
sql
- The SQL to inspect- Returns:
- The processed SQL to use; may be
null
-