Interface JdbcRecommendedSqlTypeMappingContext
-
public interface JdbcRecommendedSqlTypeMappingContextMore-or-less a parameter-object intended for use in determining the SQL/JDBC type recommended by the JDBC spec (explicitly or implicitly) for a given Java type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EnumTypegetEnumeratedType()For enum mappings, what style of storage was requested (name vs.default intgetPreferredSqlTypeCodeForBoolean()When mapping a boolean type to the database what is the preferred SQL type code to use?TypeConfigurationgetTypeConfiguration()Provides access to the TypeConfiguration for access to various type-system registries.default booleanisLob()Was LOB datatype requested for the given Java type?default booleanisNationalized()Was nationalized character datatype requested for the given Java type?
-
-
-
Method Detail
-
isNationalized
default boolean isNationalized()
Was nationalized character datatype requested for the given Java type?- Returns:
trueif nationalized character datatype should be used;falseotherwise.
-
isLob
default boolean isLob()
Was LOB datatype requested for the given Java type?- Returns:
trueif LOB datatype should be used;falseotherwise.
-
getEnumeratedType
default EnumType getEnumeratedType()
For enum mappings, what style of storage was requested (name vs. ordinal)?- Returns:
- The enum type.
-
getPreferredSqlTypeCodeForBoolean
default int getPreferredSqlTypeCodeForBoolean()
When mapping a boolean type to the database what is the preferred SQL type code to use? Specifically names the key into theSqlTypeDescriptorRegistry.
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
Provides access to the TypeConfiguration for access to various type-system registries.
-
-