Class ObjectTypeHandler
java.lang.Object
cool.scx.jdbc.type_handler.ObjectTypeHandler
- All Implemented Interfaces:
TypeHandler<Object>
ObjectTypeHandler 默认都会转换为 json 字符串来存储
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
ConstructorsConstructorDescriptionObjectTypeHandler(cool.scx.reflect.TypeInfo type) ObjectTypeHandler(Type type) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.jdbc.type_handler.TypeHandler
getDefaultValue
-
Constructor Details
-
ObjectTypeHandler
-
ObjectTypeHandler
public ObjectTypeHandler(cool.scx.reflect.TypeInfo type)
-
-
Method Details
-
setObject
- Specified by:
setObjectin interfaceTypeHandler<Object>- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceTypeHandler<Object>- Throws:
SQLException
-