jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
189 stars 55 forks source link

add AttributeConverter to @ColumnResult #474

Open gavinking opened 10 months ago

gavinking commented 10 months ago

It might be a bit convenient if @ColumnResult could specify an AttributeConverter.

public @interface ColumnResult { 
    String name();
    Class<?> type() default void.class;
    Class<AttributConverter<?,?>> default AttributConverter.class;
}