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.
| Modifier and Type | Field and Description |
|---|---|
| public static final DataType | BIGINT
The |
| public static final DataType | BIGINTUNSIGNED
The unsigned |
| public static final DataType | BINARY
The |
| public static final DataType | |
| public static final DataType | BLOB
The |
| public static final DataType | BOOLEAN
The |
| public static final DataType | CHAR
The |
| public static final DataType | CLOB
The |
| public static final DataType | DATE
The |
| public static final DataType | DECIMAL
The |
| public static final DataType | DECIMAL_INTEGER
The zero-scale |
| public static final DataType | DOUBLE
The |
| public static final DataType | FLOAT
The |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | INSTANT
A |
| public static final DataType | INTEGER
The |
| public static final DataType | INTEGERUNSIGNED
The unsigned |
| public static final DataType | INTERVAL
A vendor specific |
| public static final DataType | INTERVALDAYTOSECOND
The SQL standard |
| public static final DataType | INTERVALYEARTOMONTH
The SQL standard |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | LOCALDATE
The |
| public static final DataType | LOCALDATETIME
The |
| public static final DataType | LOCALTIME
The |
| public static final DataType | LONGNVARCHAR
The |
| public static final DataType | LONGVARBINARY
The |
| public static final DataType | LONGVARCHAR
The |
| public static final DataType | NCHAR
The |
| public static final DataType | NCLOB
The |
| public static final DataType | NUMERIC
The |
| public static final DataType | NVARCHAR
The |
| public static final DataType | |
| public static final DataType | OFFSETTIME
The |
| public static final DataType | OTHER
The |
| public static final DataType | REAL
The |
| public static final DataType | RECORD
The |
| public static final DataType | |
| public static final DataType | ROWID
The |
| public static final DataType | SMALLINT
The |
| public static final DataType | SMALLINTUNSIGNED
The unsigned |
| public static final DataType | TIME
The |
| public static final DataType | TIMESTAMP
The |
| public static final DataType | |
| public static final DataType | TIMEWITHTIMEZONE
The |
| public static final DataType | TINYINT
The |
| public static final DataType | TINYINTUNSIGNED
The unsigned |
| public static final DataType | |
| public static final DataType | VARBINARY
The |
| public static final DataType | VARCHAR
The |
| public static final DataType | |
| public static final DataType | YEAR
A |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| private static final void | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final DataType |
| BIGINT | back to summary |
|---|---|
| public static final DataType<Long> BIGINT The | |
| BIGINTUNSIGNED | back to summary |
|---|---|
| public static final DataType<ULong> BIGINTUNSIGNED The unsigned | |
| BINARY | back to summary |
|---|---|
| public static final DataType<byte[]> BINARY The | |
| BIT | back to summary |
|---|---|
| public static final DataType<Boolean> BIT The | |
| BLOB | back to summary |
|---|---|
| public static final DataType<byte[]> BLOB The | |
| BOOLEAN | back to summary |
|---|---|
| public static final DataType<Boolean> BOOLEAN The | |
| CHAR | back to summary |
|---|---|
| public static final DataType<String> CHAR The | |
| CLOB | back to summary |
|---|---|
| public static final DataType<String> CLOB The | |
| DATE | back to summary |
|---|---|
| public static final DataType<Date> DATE The | |
| DECIMAL | back to summary |
|---|---|
| public static final DataType<BigDecimal> DECIMAL The | |
| DECIMAL_INTEGER | back to summary |
|---|---|
| public static final DataType<BigInteger> DECIMAL_INTEGER The zero-scale | |
| DOUBLE | back to summary |
|---|---|
| public static final DataType<Double> DOUBLE The | |
| FLOAT | back to summary |
|---|---|
| public static final DataType<Double> FLOAT The | |
| GEOGRAPHY | back to summary |
|---|---|
| public static final DataType<Geography> GEOGRAPHY The This is not a JDBC standard. This type handles spatial types where they are supported.
If you want to opt out of code generation support for this type, you can
specify This data type is supported only by the commercial editions of jOOQ. | |
| GEOMETRY | back to summary |
|---|---|
| public static final DataType<Geometry> GEOMETRY The This is not a JDBC standard. This type handles spatial types where they are supported.
If you want to opt out of code generation support for this type, you can
specify This data type is supported only by the commercial editions of jOOQ. | |
| INSTANT | back to summary |
|---|---|
| public static final DataType<Instant> INSTANT A
Neither JDBC, nor most SQL databases support the | |
| INTEGER | back to summary |
|---|---|
| public static final DataType<Integer> INTEGER The | |
| INTEGERUNSIGNED | back to summary |
|---|---|
| public static final DataType<UInteger> INTEGERUNSIGNED The unsigned | |
| INTERVAL | back to summary |
|---|---|
| public static final DataType<YearToSecond> INTERVAL A vendor specific
If you want to opt out of code generation support for this type, you can
specify | |
| INTERVALDAYTOSECOND | back to summary |
|---|---|
| public static final DataType<DayToSecond> INTERVALDAYTOSECOND The SQL standard
If you want to opt out of code generation support for this type, you can
specify | |
| INTERVALYEARTOMONTH | back to summary |
|---|---|
| public static final DataType<YearToMonth> INTERVALYEARTOMONTH The SQL standard
If you want to opt out of code generation support for this type, you can
specify | |
| JSON | back to summary |
|---|---|
| public static final DataType<JSON> JSON The This is not a JDBC standard. This type handles JSON types where they are supported.
If you want to opt out of code generation support for this type, you can
specify | |
| JSONB | back to summary |
|---|---|
| public static final DataType<JSONB> JSONB The This is not a JDBC standard. This type handles JSONB types where they are supported.
If you want to opt out of code generation support for this type, you can
specify | |
| LOCALDATE | back to summary |
|---|---|
| public static final DataType<LocalDate> LOCALDATE The | |
| LOCALDATETIME | back to summary |
|---|---|
| public static final DataType<LocalDateTime> LOCALDATETIME The | |
| LOCALTIME | back to summary |
|---|---|
| public static final DataType<LocalTime> LOCALTIME The | |
| LONGNVARCHAR | back to summary |
|---|---|
| public static final DataType<String> LONGNVARCHAR The | |
| LONGVARBINARY | back to summary |
|---|---|
| public static final DataType<byte[]> LONGVARBINARY The | |
| LONGVARCHAR | back to summary |
|---|---|
| public static final DataType<String> LONGVARCHAR The | |
| NCHAR | back to summary |
|---|---|
| public static final DataType<String> NCHAR The | |
| NCLOB | back to summary |
|---|---|
| public static final DataType<String> NCLOB The | |
| NUMERIC | back to summary |
|---|---|
| public static final DataType<BigDecimal> NUMERIC The | |
| NVARCHAR | back to summary |
|---|---|
| public static final DataType<String> NVARCHAR The | |
| OFFSETDATETIME | back to summary |
|---|---|
| public static final DataType<OffsetDateTime> OFFSETDATETIME The
The behaviour of this data type is influenced by the JDBC driver and the
database that is used. Some databases support actual time zones (as in
| |
| OFFSETTIME | back to summary |
|---|---|
| public static final DataType<OffsetTime> OFFSETTIME The
The behaviour of this data type is influenced by the JDBC driver and the
database that is used. Some databases support actual time zones (as in
| |
| OTHER | back to summary |
|---|---|
| public static final DataType<Object> OTHER The | |
| REAL | back to summary |
|---|---|
| public static final DataType<Float> REAL The | |
| RECORD | back to summary |
|---|---|
| public static final DataType<Record> RECORD The | |
| RESULT | back to summary |
|---|---|
| public static final DataType<Result<Record>> RESULT The This is not a JDBC standard. This type emulates REF CURSOR types and similar constructs
| |
| ROWID | back to summary |
|---|---|
| public static final DataType<RowId> ROWID The | |
| SMALLINT | back to summary |
|---|---|
| public static final DataType<Short> SMALLINT The | |
| SMALLINTUNSIGNED | back to summary |
|---|---|
| public static final DataType<UShort> SMALLINTUNSIGNED The unsigned | |
| TIME | back to summary |
|---|---|
| public static final DataType<Time> TIME The | |
| TIMESTAMP | back to summary |
|---|---|
| public static final DataType<Timestamp> TIMESTAMP The | |
| TIMESTAMPWITHTIMEZONE | back to summary |
|---|---|
| public static final DataType<OffsetDateTime> TIMESTAMPWITHTIMEZONE The
An alias for | |
| TIMEWITHTIMEZONE | back to summary |
|---|---|
| public static final DataType<OffsetTime> TIMEWITHTIMEZONE The
An alias for | |
| TINYINT | back to summary |
|---|---|
| public static final DataType<Byte> TINYINT The | |
| TINYINTUNSIGNED | back to summary |
|---|---|
| public static final DataType<UByte> TINYINTUNSIGNED The unsigned | |
| UUID | back to summary |
|---|---|
| public static final DataType<UUID> UUID The This is not a JDBC standard. This type handles UUID types where they are supported | |
| VARBINARY | back to summary |
|---|---|
| public static final DataType<byte[]> VARBINARY The | |
| VARCHAR | back to summary |
|---|---|
| public static final DataType<String> VARCHAR The | |
| XML | back to summary |
|---|---|
| public static final DataType<XML> XML The This is not a JDBC standard. This type handles XML types where they are supported.
If you want to opt out of code generation support for this type, you can
specify | |
| YEAR | back to summary |
|---|---|
| public static final DataType<Year> YEAR A
While JDBC does not support this type, some dialects do, specifically
those of the | |
| SQLDataType | back to summary |
|---|---|
| private SQLDataType() No instances | |
| BINARY | back to summary |
|---|---|
| public static final DataType The | |
| BLOB | back to summary |
|---|---|
| public static final DataType The | |
| CHAR | back to summary |
|---|---|
| public static final DataType The | |
| CLOB | back to summary |
|---|---|
| public static final DataType The | |
| DECIMAL | back to summary |
|---|---|
| public static final DataType The | |
| DECIMAL | back to summary |
|---|---|
| public static final DataType The | |
| DECIMAL_INTEGER | back to summary |
|---|---|
| public static final DataType The zero-scale | |
| initJSR310Types | back to summary |
|---|---|
| private static final void initJSR310Types(SQLDialect family) | |
| INSTANT | back to summary |
|---|---|
| public static final DataType A
Neither JDBC, nor most SQL databases support the | |
| LOCALDATETIME | back to summary |
|---|---|
| public static final DataType The | |
| LOCALTIME | back to summary |
|---|---|
| public static final DataType The | |
| LONGNVARCHAR | back to summary |
|---|---|
| public static final DataType The | |
| LONGVARBINARY | back to summary |
|---|---|
| public static final DataType The | |
| LONGVARCHAR | back to summary |
|---|---|
| public static final DataType The | |
| NCHAR | back to summary |
|---|---|
| public static final DataType The | |
| NCLOB | back to summary |
|---|---|
| public static final DataType The | |
| NUMERIC | back to summary |
|---|---|
| public static final DataType The | |
| NUMERIC | back to summary |
|---|---|
| public static final DataType The | |
| NVARCHAR | back to summary |
|---|---|
| public static final DataType The | |
| OFFSETDATETIME | back to summary |
|---|---|
| public static final DataType The
The behaviour of this data type is influenced by the JDBC driver and the
database that is used. Some databases support actual time zones (as in
| |
| OFFSETTIME | back to summary |
|---|---|
| public static final DataType The
The behaviour of this data type is influenced by the JDBC driver and the
database that is used. Some databases support actual time zones (as in
| |
| TIME | back to summary |
|---|---|
| public static final DataType The | |
| TIMESTAMP | back to summary |
|---|---|
| public static final DataType The | |
| TIMESTAMPWITHTIMEZONE | back to summary |
|---|---|
| public static final DataType The
An alias for | |
| TIMEWITHTIMEZONE | back to summary |
|---|---|
| public static final DataType The
An alias for | |
| VARBINARY | back to summary |
|---|---|
| public static final DataType The | |
| VARCHAR | back to summary |
|---|---|
| public static final DataType The | |