Enum Class JdbcType

java.lang.Object
java.lang.Enum<JdbcType>
org.apache.ibatis.type.JdbcType
All Implemented Interfaces:
Serializable, Comparable<JdbcType>, Constable

public enum JdbcType extends Enum<JdbcType>
Author:
Clinton Begin
  • Enum Constant Details

    • ARRAY

      public static final JdbcType ARRAY
    • BIT

      public static final JdbcType BIT
    • TINYINT

      public static final JdbcType TINYINT
    • SMALLINT

      public static final JdbcType SMALLINT
    • INTEGER

      public static final JdbcType INTEGER
    • BIGINT

      public static final JdbcType BIGINT
    • FLOAT

      public static final JdbcType FLOAT
    • REAL

      public static final JdbcType REAL
    • DOUBLE

      public static final JdbcType DOUBLE
    • NUMERIC

      public static final JdbcType NUMERIC
    • DECIMAL

      public static final JdbcType DECIMAL
    • CHAR

      public static final JdbcType CHAR
    • VARCHAR

      public static final JdbcType VARCHAR
    • LONGVARCHAR

      public static final JdbcType LONGVARCHAR
    • DATE

      public static final JdbcType DATE
    • TIME

      public static final JdbcType TIME
    • TIMESTAMP

      public static final JdbcType TIMESTAMP
    • BINARY

      public static final JdbcType BINARY
    • VARBINARY

      public static final JdbcType VARBINARY
    • LONGVARBINARY

      public static final JdbcType LONGVARBINARY
    • NULL

      public static final JdbcType NULL
    • OTHER

      public static final JdbcType OTHER
    • BLOB

      public static final JdbcType BLOB
    • CLOB

      public static final JdbcType CLOB
    • BOOLEAN

      public static final JdbcType BOOLEAN
    • CURSOR

      public static final JdbcType CURSOR
    • UNDEFINED

      public static final JdbcType UNDEFINED
    • NVARCHAR

      public static final JdbcType NVARCHAR
    • NCHAR

      public static final JdbcType NCHAR
    • NCLOB

      public static final JdbcType NCLOB
    • STRUCT

      public static final JdbcType STRUCT
    • JAVA_OBJECT

      public static final JdbcType JAVA_OBJECT
    • DISTINCT

      public static final JdbcType DISTINCT
    • REF

      public static final JdbcType REF
    • ROWID

      public static final JdbcType ROWID
    • LONGNVARCHAR

      public static final JdbcType LONGNVARCHAR
    • SQLXML

      public static final JdbcType SQLXML
    • DATETIMEOFFSET

      public static final JdbcType DATETIMEOFFSET
    • TIME_WITH_TIMEZONE

      public static final JdbcType TIME_WITH_TIMEZONE
    • TIMESTAMP_WITH_TIMEZONE

      public static final JdbcType TIMESTAMP_WITH_TIMEZONE
  • Field Details

    • TYPE_CODE

      public final int TYPE_CODE
  • Method Details

    • values

      public static JdbcType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JdbcType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forCode

      public static JdbcType forCode(int code)