Class EmptyStatementInspector
- java.lang.Object
-
- org.hibernate.resource.jdbc.internal.EmptyStatementInspector
-
- All Implemented Interfaces:
Serializable
,StatementInspector
public class EmptyStatementInspector extends Object implements StatementInspector
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StatementInspector
INSTANCE
The singleton reference.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EmptyStatementInspector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
inspect(String sql)
Inspect the given SQL command, possibly returning a different SQL command to be used instead.
-
-
-
Field Detail
-
INSTANCE
public static final StatementInspector INSTANCE
The singleton reference.
-
-
Method Detail
-
inspect
public String inspect(String sql)
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
-
-