Class SQLiteLocalDateTimeTypeHandler
java.lang.Object
cool.scx.jdbc.type_handler.time.LocalDateTimeTypeHandler
cool.scx.jdbc.sqlite.type_handler.SQLiteLocalDateTimeTypeHandler
- All Implemented Interfaces:
TypeHandler<LocalDateTime>
当前驱动不支持 LocalDateTime, 尝试使用 Timestamp 进行转换 !!!
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetObject(PreparedStatement ps, int i, LocalDateTime parameter) 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
-
SQLiteLocalDateTimeTypeHandler
public SQLiteLocalDateTimeTypeHandler()
-
-
Method Details
-
setObject
- Specified by:
setObjectin interfaceTypeHandler<LocalDateTime>- Overrides:
setObjectin classLocalDateTimeTypeHandler- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceTypeHandler<LocalDateTime>- Overrides:
getObjectin classLocalDateTimeTypeHandler- Throws:
SQLException
-