Interface BasicValueConverter<O,​R>

  • All Known Subinterfaces:
    EnumValueConverter<O,​R>, JpaAttributeConverter<O,​R>

    public interface BasicValueConverter<O,​R>
    Support for basic-value conversions. Conversions might be defined by: * a custom JPA AttributeConverter, * implicitly, based on the Java type (e.g., enums) * etc
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      O toDomainValue​(R relationalForm)
      Convert the relational form just retrieved from JDBC ResultSet into the domain form.
      R toRelationalValue​(O domainForm)
      Convert the domain form into the relational form in preparation for storage into JDBC
    • Method Detail

      • toDomainValue

        O toDomainValue​(R relationalForm)
        Convert the relational form just retrieved from JDBC ResultSet into the domain form.
      • toRelationalValue

        R toRelationalValue​(O domainForm)
        Convert the domain form into the relational form in preparation for storage into JDBC