Package org.hibernate.resource.jdbc.spi
Interface StatementInspector
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SQLStatementInspector
public interface StatementInspector extends java.io.SerializableContract to allow inspection (and swapping) of SQL to be prepared
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringinspect(java.lang.String sql)Inspect the given SQL, possibly returning a different SQL to be used instead.
-
-
-
Method Detail
-
inspect
java.lang.String inspect(java.lang.String sql)
Inspect the given SQL, possibly returning a different SQL to be used instead. Note that returningnullis interpreted as returning the same SQL as was passed.- Parameters:
sql- The SQL to inspect- Returns:
- The SQL to use; may be
null
-
-