Interface SQLFormatter

  • All Known Implementing Classes:
    RawSQLFormatter, SimpleSQLFormatter

    public interface SQLFormatter
    A formatter for SQL statement text.

    An implementation of this interface is used when logging SQL statements.

    Author:
    Carl Harris
    • Method Detail

      • format

        String format​(String sql)
        Formats SQL statement text.
        Parameters:
        sql - the statement to format
        Returns:
        formatted SQL statement text