Class EnumLiteral

All Implemented Interfaces:
SQLLiteral

public class EnumLiteral extends EnumExpression implements SQLLiteral
Representation of an Enum literal.
  • Field Details

    • value

      private final Enum value
  • Constructor Details

    • EnumLiteral

      public EnumLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
      Constructor for an Enum literal with a value.
      Parameters:
      stmt - the SQL statement
      mapping - the mapping
      value - the value
      parameterName - Name of the parameter that this represents if any (as JDBC "?")
  • Method Details