- All Implemented Interfaces:
Serializable
,Comparable<DbType>
The known DB types that are mapped.
This includes extra types such as UUID, JSON, JSONB and HSTORE.
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionCreate a platform type without scale or precision.int
id()
Return the JDBC java.sql.Types value.static DbType
Returns the enum constant of this type with the specified name.static DbType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
-
BIT
-
INTEGER
-
BIGINT
-
SMALLINT
-
TINYINT
-
REAL
-
DOUBLE
-
DECIMAL
-
VARCHAR
-
CHAR
-
BLOB
-
CLOB
-
LONGVARBINARY
-
LONGVARCHAR
-
VARBINARY
-
BINARY
-
DATE
-
TIME
-
TIMESTAMP
-
ARRAY
-
LOCALDATETIME
-
UUID
-
INET
-
CIDR
-
POINT
-
POLYGON
-
LINESTRING
-
MULTIPOINT
-
MULTILINESTRING
-
MULTIPOLYGON
-
HSTORE
-
JSON
-
JSONB
-
JSONCLOB
-
JSONBLOB
-
JSONVARCHAR
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
id
public int id()Return the JDBC java.sql.Types value. -
createPlatformType
Create a platform type without scale or precision.
-