接口 StatementInspector

  • 所有超级接口:
    Serializable

    public interface StatementInspector
    extends Serializable
    Contract to allow inspection (and swapping) of SQL to be prepared
    作者:
    Steve Ebersole
    • 方法详细资料

      • 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