Type Parameters:
T - the target Java type this converter handles
All Superinterfaces:
Converter <T>, ConverterFunction <T>
All Known Implementing Classes:
BigDecimalConverter , BooleanConverter , ByteArrayConverter , ByteConverter , DoubleConverter , FloatConverter , GenericSqlConverter , IntegerConverter , LongConverter , ShortConverter , SqlDateConverter , SqlTimeConverter , SqlTimestampConverter , StringConverter
public interface SqlConverter<T>
extends Converter <T>
Extends
Converter to add SQL-specific metadata.
A SqlConverter is associated with one or more Types integer codes,
allowing it to be used for converting values to and from database-specific representations.
Method Summary
All Methods Instance Methods Abstract Methods
int[]
Returns an array of
Types integer codes that this converter is associated with.
Method Details
sqlTypes
int[] sqlTypes ()
Returns an array of
Types integer codes that this converter is associated with.
Returns:
an array of SQL type codes