Class StandardBasicTypeTemplate<J>

All Implemented Interfaces:
BasicType<J>, Type<J>, Serializable, BasicValuedMapping, Bindable, JdbcMapping, JdbcMappingContainer, MappingModelExpressible, MappingType, SqlExpressible, ValueMapping, BasicDomainType<J>, DomainType<J>, SimpleDomainType<J>, BindableType<J>, OutputableType<J>, ReturnableType<J>, SqmExpressible<J>, BasicType<J>, JavaTypedExpressible, ProcedureParameterExtractionAware<J>, ProcedureParameterNamedBinder<J>, Type

public class StandardBasicTypeTemplate<J> extends AbstractSingleColumnStandardBasicType<J>
A BasicType adapter targeting partial portability to 6.0's type system changes. In 6.0 the notion of a BasicType is just a combination of JavaType/JdbcType.
See Also:
  • Constructor Details

    • StandardBasicTypeTemplate

      public StandardBasicTypeTemplate(JdbcType jdbcType, JavaType<J> javaType, String... registrationKeys)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Type
      Returns the abbreviated name of the type.
      Returns:
      the Hibernate type name
    • getRegistrationKeys

      public String[] getRegistrationKeys()
      Description copied from interface: BasicType
      Get the names under which this type should be registered in the type registry.
      Specified by:
      getRegistrationKeys in interface BasicType<J>
      Overrides:
      getRegistrationKeys in class AbstractStandardBasicType<J>
      Returns:
      The keys under which to register this type.