Package org.sql2o.converters
Class ShortConverter
Used by sql2o to convert a value from the database into a
Short.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ShortconvertNumberValue(Number val) protected ShortconvertStringValue(String val) protected StringtoDatabaseParam(Short val) Conversion from Java to SQL.Methods inherited from class org.sql2o.converters.NumberConverter
convert
-
Constructor Details
-
Method Details
-
convertNumberValue
- Specified by:
convertNumberValuein classNumberConverter<Short>
-
convertStringValue
- Specified by:
convertStringValuein classNumberConverter<Short>
-
getTypeDescription
- Specified by:
getTypeDescriptionin classNumberConverter<Short>
-
toDatabaseParam
Description copied from interface:ConverterConversion from Java to SQL.- Specified by:
toDatabaseParamin interfaceConverter<T>
-