Interface StatementInspector

  • All Superinterfaces:

    public interface StatementInspector
    extends Serializable
    Contract to allow inspection (and swapping) of SQL to be prepared
    • Method Detail

      • inspect

        String inspect​(String sql)
        Inspect the given SQL, possibly returning a different SQL to be used instead. Note that returning null is interpreted as returning the same SQL as was passed.
        sql - The SQL to inspect
        The SQL to use; may be null