T
- the column typeR
- the "persist as" type@SPI
public interface ColumnTypeMapping<T,R>
extends java.util.function.Function<T,R>
Maps a column value to a stored value of type R
.
Modifier and Type | Method and Description |
---|---|
static <T> ColumnTypeMapping<T,T> |
identity() |
static <T> ColumnTypeMapping<T,T> identity()