Package org.hibernate.type.descriptor.jdbc
Defines handling of almost the full range of standard JDBC-defined SQL data types. Each JDBC type is described by an implementation
of
JdbcType.
See this discussion of the role JdbcType
plays in basic type mappings.
We omit certain JDBC types here solely because Hibernate does not use them itself, not due to any inability to provide proper descriptors for them. There are no descriptors for:
Nor is there a generic descriptor for STRUCT defined
in this package, but dialect-specific implementations are provided elsewhere.
On the other hand, we actually extend the set of JDBC types by enumerating
additional types in SqlTypes.
- See Also:
JdbcType,org.hibernate.type,Types,SqlTypes, Mapping SQL and Java Types
-
Interface Summary Interface Description AdjustableJdbcType Extension contract for JdbcType implementations that understand how to adjust themselves relative to where/how they are used (e.g.AggregateJdbcType JdbcLiteralFormatter<T> A formatter object for rendering values of a given Java type as SQL literals of a certain JDBC/SQL type.JdbcType Descriptor for the SQL/JDBC side of a value mapping.JdbcTypeConstructor Factory for anyJdbcTypewhich is parameterized by a secondJdbcType, the "element" type.JdbcTypeIndicators A parameter object that helps determine theSQL/JDBC typerecommended by the JDBC spec (explicitly or implicitly) for a given Java type. -
Class Summary Class Description ArrayJdbcType Descriptor forARRAYhandling.ArrayJdbcTypeConstructor Factory forArrayJdbcType.BasicBinder<J> Convenience base implementation ofValueBinderBasicExtractor<J> Convenience base implementation ofValueExtractorBigIntJdbcType Descriptor forBIGINThandling.BinaryJdbcType Descriptor forBINARYhandling.BlobJdbcType Descriptor forBLOBhandling.BooleanJdbcType Descriptor forBOOLEANhandling.CharJdbcType Descriptor forCHARhandling.ClobJdbcType Descriptor forCLOBhandling.DateJdbcType Descriptor forDATEhandling.DecimalJdbcType Descriptor forDECIMALhandling.DelegatingJdbcTypeIndicators DoubleJdbcType Descriptor forDOUBLEhandling.FloatJdbcType Descriptor forFLOAThandling.H2FormatJsonJdbcType Specialized type mapping forJSONthat utilizes the custom '? format json' write expression for H2.InstantAsTimestampJdbcType Deprecated, for removal: This API element is subject to removal in a future version. InstantAsTimestampWithTimeZoneJdbcType Deprecated, for removal: This API element is subject to removal in a future version. InstantJdbcType Deprecated, for removal: This API element is subject to removal in a future version. IntegerJdbcType Descriptor forINTEGERhandling.JdbcTypeFamilyInformation Information pertaining to JDBC type families.JdbcTypeJavaClassMappings Maintains the JDBC recommended mappings for JDBC type-code to/from Java Class as defined in Appendix B: Data Type Conversion Tables of the JDBC Specification.JsonAsStringJdbcType Specialized type mapping forJSONand the JSON SQL data type.JsonJdbcType Specialized type mapping forJSONand the JSON SQL data type.LobTypeMappings LongNVarcharJdbcType Descriptor forLONGNVARCHARhandling.LongVarbinaryJdbcType Descriptor forLONGVARBINARYhandling.LongVarcharJdbcType Descriptor forLONGVARCHARhandling.NationalizedTypeMappings Manages a mapping between nationalized and non-nationalized variants of JDBC types.NCharJdbcType Descriptor forNCHARhandling.NClobJdbcType Descriptor forNCLOBhandling.NullJdbcType Descriptor for binding nulls with Types.NULLNumericJdbcType Descriptor forNUMERIChandling.NVarcharJdbcType Descriptor forNVARCHARhandling.ObjectJdbcType Descriptor for binding objects using any JDBC type code.ObjectNullAsBinaryTypeJdbcType Descriptor for binding objects, but binding nulls with Types.VARBINARYObjectNullAsNullTypeJdbcType Descriptor for binding objects, but binding nulls with Types.NULLObjectNullResolvingJdbcType Descriptor for binding objects, but binding nulls with the resolved parameter typeOracleJsonBlobJdbcType Specialized type mapping forJSONand the BLOB SQL data type for Oracle.RealJdbcType Deprecated. useFloatJdbcTypeRowIdJdbcType Descriptor forROWIDhandling.SmallIntJdbcType Descriptor forSMALLINThandling.TimeAsTimestampWithTimeZoneJdbcType Descriptor forTIMESTAMP_WITH_TIMEZONEhandling.TimeJdbcType Descriptor forTIMEhandling.TimestampJdbcType Descriptor forTIMESTAMPhandling.TimestampUtcAsInstantJdbcType Descriptor forTIMESTAMP_UTChandling.TimestampUtcAsJdbcTimestampJdbcType Descriptor forTIMESTAMP_UTChandling.TimestampUtcAsOffsetDateTimeJdbcType Descriptor forTIMESTAMP_UTChandling.TimestampWithTimeZoneJdbcType Descriptor forTIMESTAMP_WITH_TIMEZONEhandling.TimeUtcAsJdbcTimeJdbcType Descriptor forTIME_UTChandling.TimeUtcAsOffsetTimeJdbcType Descriptor forTIME_UTChandling.TimeWithTimeZoneJdbcType Descriptor forTIME_WITH_TIMEZONEhandling.TinyIntAsSmallIntJdbcType TinyIntJdbcType Descriptor forTINYINThandling.UUIDJdbcType Specialized type mapping forUUIDand the UUID SQL data type.VarbinaryJdbcType Descriptor forVARBINARYhandling.VarcharJdbcType Descriptor forVARCHARhandling.XmlAsStringJdbcType Specialized type mapping forSQLXMLand the XML SQL data type.XmlJdbcType Specialized type mapping forSQLXMLand the XML SQL data type.XmlJdbcType.XmlValueBinder<X> -
Enum Summary Enum Description JdbcTypeFamilyInformation.Family