Use JPA 2.1 Converter.