Class JdbcLiteralFormatterBoolean<T>

All Implemented Interfaces:
Serializable, JdbcLiteralFormatter<T>

public class JdbcLiteralFormatterBoolean<T> extends BasicJdbcLiteralFormatter<T>
JdbcLiteralFormatter implementation for handling boolean literals
Author:
Steve Ebersole
See Also:
  • Constructor Details

    • JdbcLiteralFormatterBoolean

      public JdbcLiteralFormatterBoolean(JavaType<T> javaType)
  • Method Details

    • appendJdbcLiteral

      public void appendJdbcLiteral(SqlAppender appender, Object value, Dialect dialect, WrapperOptions wrapperOptions)
      Description copied from interface: JdbcLiteralFormatter
      Append a SQL literal representing the given Java value to a fragment of SQL which is being built.
      Parameters:
      appender - an operation that appends to the SQL fragment
      value - a Java object whose value can be represented as a SQL literal
      dialect - the SQL dialect