Class YearMonthEpochType

java.lang.Object
io.hypersistence.utils.hibernate.type.MutableType<YearMonth,org.hibernate.type.descriptor.jdbc.SmallIntJdbcType,YearMonthEpochTypeDescriptor>
io.hypersistence.utils.hibernate.type.basic.YearMonthEpochType
All Implemented Interfaces:
org.hibernate.metamodel.mapping.BasicValuedMapping, org.hibernate.metamodel.mapping.Bindable, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.metamodel.mapping.MappingModelExpressible, org.hibernate.metamodel.mapping.SqlExpressible, org.hibernate.metamodel.mapping.ValueMapping, org.hibernate.query.BindableType<YearMonth>, org.hibernate.query.sqm.SqmExpressible<YearMonth>, org.hibernate.type.descriptor.java.JavaTypedExpressible, org.hibernate.usertype.UserType<YearMonth>

public class YearMonthEpochType extends MutableType<YearMonth,org.hibernate.type.descriptor.jdbc.SmallIntJdbcType,YearMonthEpochTypeDescriptor>
Maps a Java YearMonth object to an small and continuous INT column type which defines the months that passed since the Unix epoch.
Author:
Vlad Mihalcea
  • Field Details

  • Constructor Details

    • YearMonthEpochType

      public YearMonthEpochType()
    • YearMonthEpochType

      public YearMonthEpochType(Configuration configuration)
    • YearMonthEpochType

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

    • getName

      public String getName()