java.lang.Object
io.hypersistence.utils.hibernate.type.ImmutableType<T>
io.hypersistence.utils.hibernate.type.DescriptorImmutableType<ZoneId,org.hibernate.type.descriptor.jdbc.VarcharJdbcType,ZoneIdTypeDescriptor>
io.hypersistence.utils.hibernate.type.basic.ZoneIdType
All Implemented Interfaces:
Serializable, org.hibernate.metamodel.model.domain.DomainType<ZoneId>, org.hibernate.query.BindableType<ZoneId>, org.hibernate.query.sqm.SqmExpressible<ZoneId>, org.hibernate.type.Type, org.hibernate.usertype.EnhancedUserType<ZoneId>, org.hibernate.usertype.UserType<ZoneId>

public class ZoneIdType extends DescriptorImmutableType<ZoneId,org.hibernate.type.descriptor.jdbc.VarcharJdbcType,ZoneIdTypeDescriptor>
Maps a Java ZoneId object to an VARCHAR column type.
Author:
stonio
See Also:
  • Field Details

    • INSTANCE

      public static final ZoneIdType INSTANCE
  • Constructor Details

    • ZoneIdType

      public ZoneIdType()
    • ZoneIdType

      public ZoneIdType(Configuration configuration)
    • ZoneIdType

      public ZoneIdType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.hibernate.type.Type
      Overrides:
      getName in class ImmutableType<ZoneId>
    • fromStringValue

      public ZoneId fromStringValue(CharSequence charSequence) throws org.hibernate.HibernateException
      Throws:
      org.hibernate.HibernateException