T
- the type of the valueC
- the type of the underlying columnpublic interface ValueConverter<T,C>
Modifier and Type | Method and Description |
---|---|
T |
fromColumnValue(C columnValue) |
C |
toColumnValue(T value)
Translates the given value into a sql value, usually this is not required
but for certain types this may be necessary, such as boolean values where
the values are represented by a non-boolean data type in the underlying database
|
C toColumnValue(T value)
value
- the value to translate