Package org.hibernate.resource.jdbc.spi
Interface StatementInspector
-
- All Superinterfaces:
java.io.Serializable
public interface StatementInspector extends java.io.Serializable
Contract 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.String
inspect(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 returningnull
is interpreted as returning the same SQL as was passed.- Parameters:
sql
- The SQL to inspect- Returns:
- The SQL to use; may be
null
-
-