Interface JdbcLogger

    • Method Detail

      • writeStatement

        void writeStatement​(String sql)
        Writes the text of an SQL statement to the log.
        Parameters:
        sql - the SQL statement text to write
      • writeParameters

        void writeParameters​(Parameter[] parameters)
        Writes the parameters that will be bound for an SQL statement.

        This method is invoked immediately after writeStatement(String) to log the actual parameter values that will be used to replace statement placeholders.

        An implementation should check the configuration of the underlying log system as to whether this level of detail is enabled.

        Parameters:
        parameters - values that will be bound before statement execution