- All Superinterfaces:
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.
An implementation may be specified via the configuration property "hibernate.session_factory.statement_inspector". An implementation registered this way is shared between sessions.