Interface BasicValueConverter<D,​R>

    • Method Detail

      • toDomainValue

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

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

        JavaType<D> getDomainJavaType()
        Descriptor for the Java type for the domain portion of this converter
      • getRelationalJavaType

        JavaType<R> getRelationalJavaType()
        Descriptor for the Java type for the relational portion of this converter
      • getCheckCondition

        default String getCheckCondition​(String columnName,
                                         JdbcType sqlType,
                                         Dialect dialect)
        The check constraint that should be added to the column definition in generated DDL.
        columnName - the name of the column
        sqlType - the JdbcType of the mapped column
        dialect - the SQL Dialect
        a check constraint condition or null