- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Spatial
A type holding
data()
, which is a String
based
representation of a SQL data type with no reasonable representation in the
JDK or in JDBC.
JDBC maps most types to JDK types, but some vendor specific types lack an
equivalent in the JDK, or the relevant type is unsatisfactory (such as
SQLXML
, which is a resource). To work around such limitations, jOOQ
establishes the set of Data
types, with these properties:
- They contain a
NotNull
representation of theirdata()
. In other words, aCAST(NULL AS …)
value is represented by anull
reference of typeData
, not asdata() == null
. This is consistent with jOOQ's general way of returningNULL
fromResult
andRecord
methods. - They're
Serializable
- They may or may not use an internal, normalised representation of their
data()
forinvalid reference
#equals(Object)
invalid reference
#hashCode()
invalid reference
#toString()
JSONB
)
- Author:
- Lukas Eder
-
Method Summary
-
Method Details
-
data
-