Interface JdbcMappingHint

All Known Subinterfaces:
InParameter<BASIC>, JdbcMappable<BASIC>, OutParameter<BASIC>, Property<ENTITY,BASIC>, Scalar<BASIC,CONTAINER>, SingleResultParameter<BASIC,RESULT>
All Known Implementing Classes:
AbstractDomainType.DomainScalar, AbstractDomainType.OptionalDomainScalar, BasicInOutParameter, BasicInParameter, BasicOutParameter, BasicScalar, BasicSingleResultParameter, DefaultPropertyType.DefaultProperty, DomainInOutParameter, DomainInParameter, DomainOutParameter, DomainSingleResultParameter, OptionalBasicInOutParameter, OptionalBasicInParameter, OptionalBasicOutParameter, OptionalBasicScalar, OptionalBasicSingleResultParameter, OptionalDomainInOutParameter, OptionalDomainInParameter, OptionalDomainOutParameter, OptionalDomainSingleResultParameter, OptionalDoubleInOutParameter, OptionalDoubleInParameter, OptionalDoubleOutParameter, OptionalDoubleScalar, OptionalDoubleSingleResultParameter, OptionalIntInOutParameter, OptionalIntInParameter, OptionalIntOutParameter, OptionalIntScalar, OptionalIntSingleResultParameter, OptionalLongInOutParameter, OptionalLongInParameter, OptionalLongOutParameter, OptionalLongScalar, OptionalLongSingleResultParameter, ScalarInOutParameter, ScalarInParameter, ScalarOutParameter, ScalarSingleResultParameter

public interface JdbcMappingHint
A hint about mapping.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the domain class if this object is mapped to the domain class.
    Returns the JDBC type if the target value is mapped to the JDBC type.
  • Method Details

    • getDomainClass

      Optional<Class<?>> getDomainClass()
      Returns the domain class if this object is mapped to the domain class.
      Returns:
      the domain class
    • getJdbcType

      default Optional<JdbcType<Object>> getJdbcType()
      Returns the JDBC type if the target value is mapped to the JDBC type.
      Returns:
      the JDBC type