-
Notifications
You must be signed in to change notification settings - Fork 21
Data Type Mapping
Default: Long
Others: BigInteger
, Float
, Double
, BigDecimal
Default: Integer
Others: Long
, BigInteger
, Float
, Double
, BigDecimal
Default: Short
Others: Integer
, Long
, BigInteger
, Float
, Double
, BigDecimal
Specials: Boolean
if it is TINYINT(1) UNSIGNED
Default: Byte
Others: Short
, Integer
, Long
, BigInteger
, Float
, Double
, BigDecimal
Specials: Boolean
if it is TINYINT(1) SIGNED
It is an alias of TINYINT(1) SIGNED
in MySQL.
Default: Integer
Others: Long
, BigInteger
, Float
, Double
, BigDecimal
Default: Short
Others: Integer
, Long
, BigInteger
, Float
, Double
, BigDecimal
Default: Integer
Others: Long
, BigInteger
, Float
, Double
, BigDecimal
Default: BigInteger
Others: Long
, Float
, Double
, BigDecimal
Default: Long
Others: BigInteger
, Float
, Double
, BigDecimal
Default: Float
Others: Double
, BigDecimal
Default: Double
Others: Float
, BigDecimal
Default: BigDecimal
Default: ByteBuffer
Others: BitSet
, byte[]
Specials: Boolean
if it is BIT(1)
Default: LocalDateTime
Others: ZonedDateTime
, OffsetDateTime
, Instant
Default: ZonedDateTime
Others: LocalDateTime
, OffsetDateTime
, Instant
Default: LocalDate
Default: LocalTime
Others: Duration
, OffsetTime
Default: Short
Others: Integer
, Long
, BigInteger
, Year
, Float
, Double
, BigDecimal
Default: String
Default: ByteBuffer
Others: byte[]
Default: String
Others: enum
class
Default: String[]
Others: String
Specials: Set<T>
, require getting it with a ParameterizedType
, T
should be String
or an enum
class
Default: ByteBuffer
Others: Blob
, byte[]
Default: String
Others: Clob
The JSON
in some distributions is an alias for TEXT
.
Default: byte[]
Others: Blob