/ 详情

[bug]日志打印sql时LocalDateTime类型输入时输出日志对应为空

Backlog
Opened this issue  
2021-02-22 17:18

druid.sql.Statement [Slf4jLogFilter.java : 134] {conn-10020, pstmt-20001} executed.insert into event (evnet_type, create_time, update_time) values ('test', null, null)

com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl#setObjectParameter,对LocalDateTime的处理为 createParameter(Types.OTHER, null),造成JdbcParameterImpl对象的value值为null,最后打印出来的结果也是null

Comments (0)

jimware created任务
jimware set related repository to wenshao/druid
展开全部操作日志

Sign in to comment

状态
Assignees
Labels
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)