接口 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.
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default javax.persistence.EnumTypegetEnumeratedType()For enum mappings, what style of storage was requested (name vs. ordinal)?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?
-
-
-
方法详细资料
-
isNationalized
default boolean isNationalized()
Was nationalized character datatype requested for the given Java type?- 返回:
trueif nationalized character datatype should be used;falseotherwise.
-
isLob
default boolean isLob()
Was LOB datatype requested for the given Java type?- 返回:
trueif LOB datatype should be used;falseotherwise.
-
getEnumeratedType
default javax.persistence.EnumType getEnumeratedType()
For enum mappings, what style of storage was requested (name vs. ordinal)?- 返回:
- 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.
-
-