Class JdbcLiteralFormatterNumericData<T>

All Implemented Interfaces:
Serializable, JdbcLiteralFormatter<T>

public class JdbcLiteralFormatterNumericData<T> extends BasicJdbcLiteralFormatter<T>
JdbcLiteralFormatter implementation for handling numeric data
Author:
Steve Ebersole
See Also:
  • Constructor Details

    • JdbcLiteralFormatterNumericData

      public JdbcLiteralFormatterNumericData(JavaType<T> javaType, Class<? extends Number> unwrapJavaType)
  • 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