Class AttributeConverterJdbcTypeAdapter

  • All Implemented Interfaces:
    Serializable, JdbcType

    public class AttributeConverterJdbcTypeAdapter
    extends Object
    implements JdbcType
    Adapter for incorporating JPA AttributeConverter handling into the JdbcType contract.

    Essentially this is responsible for mapping to/from the intermediate database type representation. Continuing the AttributeConverter<Integer,String> example from SimpleValue.buildAttributeConverterTypeAdapter(), the "intermediate database type representation" would be the String representation. So on binding, we convert the incoming Integer to String; on extraction we extract the value as String and convert to Integer.

    See Also:
    Serialized Form