- All Superinterfaces:
- All Known Implementing Classes:
public interface StatementInspector extends SerializableImplementors may inspect and even process each SQL command issued by a session, before a JDBC statement is prepared. A
StatementInspectormay be either:
- shared by all sessions created by a given session factory, in which case it must be thread-safe, or
- a dedicated instance registered for a certain session.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
inspect(String sql)Inspect the given SQL command, possibly returning a different SQL command to be used instead.