public final class SQLDataType extends Object
Types
.
These types are usually the ones that are referenced by generated source code. Most RDBMS have an almost 1:1 mapping between their vendor-specific types and the ones in this class (except Oracle). Some RDBMS also have extensions, e.g. for geospacial data types. See the dialect-specific data type classes for more information.
public static final DataType<String> VARCHAR
Types.VARCHAR
type.public static final DataType<String> CHAR
Types.CHAR
type.public static final DataType<String> LONGVARCHAR
Types.LONGVARCHAR
type.public static final DataType<String> CLOB
Types.CLOB
type.public static final DataType<String> NVARCHAR
Types.NVARCHAR
type.public static final DataType<String> NCHAR
Types.NCHAR
type.public static final DataType<String> LONGNVARCHAR
Types.LONGNVARCHAR
type.public static final DataType<String> NCLOB
Types.NCLOB
type.public static final DataType<Boolean> BOOLEAN
Types.BOOLEAN
type.public static final DataType<Byte> TINYINT
Types.TINYINT
type.public static final DataType<Short> SMALLINT
Types.SMALLINT
type.public static final DataType<Integer> INTEGER
Types.INTEGER
type.public static final DataType<Long> BIGINT
Types.BIGINT
type.public static final DataType<BigInteger> DECIMAL_INTEGER
Types.DECIMAL
type.public static final DataType<UByte> TINYINTUNSIGNED
Types.TINYINT
type.public static final DataType<UShort> SMALLINTUNSIGNED
Types.SMALLINT
type.public static final DataType<UInteger> INTEGERUNSIGNED
Types.INTEGER
type.public static final DataType<ULong> BIGINTUNSIGNED
Types.BIGINT
type.public static final DataType<Double> DOUBLE
Types.DOUBLE
type.public static final DataType<Double> FLOAT
Types.FLOAT
type.public static final DataType<Float> REAL
Types.REAL
type.public static final DataType<BigDecimal> NUMERIC
Types.NUMERIC
type.public static final DataType<BigDecimal> DECIMAL
Types.DECIMAL
type.public static final DataType<Date> DATE
Types.DATE
type.public static final DataType<Timestamp> TIMESTAMP
Types.TIMESTAMP
type.public static final DataType<Time> TIME
Types.TIME
type.public static final DataType<YearToMonth> INTERVALYEARTOMONTH
INTERVAL YEAR TO MONTH
data type.public static final DataType<DayToSecond> INTERVALDAYTOSECOND
INTERVAL DAY TO SECOND
data type.public static final DataType<byte[]> BINARY
Types.BINARY
type.public static final DataType<byte[]> VARBINARY
Types.VARBINARY
type.public static final DataType<byte[]> LONGVARBINARY
Types.LONGVARBINARY
type.public static final DataType<byte[]> BLOB
Types.BLOB
type.public static final DataType<Object> OTHER
Types.OTHER
type.public static final DataType<Result<Record>> RESULT
ResultSet
type.
This is not a SQL or JDBC standard. This type simulates REF CURSOR types and similar constructs
Copyright © 2014. All Rights Reserved.