Interface CodeEnumValueConverter<O extends net.binis.codegen.objects.base.enumeration.CodeEnum,R>

All Superinterfaces:
org.hibernate.metamodel.model.convert.spi.BasicValueConverter<O,R>
All Known Implementing Classes:
NamedCodeEnumValueConverter, OrdinalCodeEnumValueConverter

public interface CodeEnumValueConverter<O extends net.binis.codegen.objects.base.enumeration.CodeEnum,R> extends org.hibernate.metamodel.model.convert.spi.BasicValueConverter<O,R>
BasicValueConverter extension for enum-specific support
Author:
Steve Ebersole
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
     
    void
    writeValue(PreparedStatement statement, O value, int position, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Deprecated.
    Added temporarily in support of dual SQL execution until fully migrated to SelectStatement and JdbcOperation

    Methods inherited from interface org.hibernate.metamodel.model.convert.spi.BasicValueConverter

    getRelationalJavaType, toDomainValue, toRelationalValue
  • Method Details

    • getDomainJavaType

      CodeEnumJavaType<O> getDomainJavaType()
      Specified by:
      getDomainJavaType in interface org.hibernate.metamodel.model.convert.spi.BasicValueConverter<O extends net.binis.codegen.objects.base.enumeration.CodeEnum,R>
    • getJdbcTypeCode

      int getJdbcTypeCode()
    • toSqlLiteral

      String toSqlLiteral(Object value)
    • writeValue

      @Deprecated void writeValue(PreparedStatement statement, O value, int position, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
      Deprecated.
      Added temporarily in support of dual SQL execution until fully migrated to SelectStatement and JdbcOperation
      Throws:
      SQLException
      Since:
      6.0