Class IntegerTypeHandler
java.lang.Object
cool.scx.jdbc.type_handler.primitive.IntegerTypeHandler
- All Implemented Interfaces:
TypeHandler<Integer>
IntegerTypeHandler
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Integer类型的默认值final IntegergetObject0(ResultSet rs, int index) voidsetObject(PreparedStatement ps, int i, Integer parameter)
-
Constructor Details
-
IntegerTypeHandler
public IntegerTypeHandler(boolean isPrimitive)
-
-
Method Details
-
setObject
- Throws:
SQLException
-
getObject0
- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceTypeHandler<T>- Throws:
SQLException
-
getDefaultValue
Description copied from interface:TypeHandler类型的默认值- Specified by:
getDefaultValuein interfaceTypeHandler<T>- Returns:
- nullValue
-