Interface StatementInspector

  • All Superinterfaces:
    Serializable

    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.
        Parameters:
        sql - The SQL to inspect
        Returns:
        The SQL to use; may be null