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