JAVA、PHP、前端、APP、网站开发 - 开发技术学习

开发技术学习 » 服务器 » solr can not be represented as java.sql.Timestamp

solr can not be represented as java.sql.Timestamp

此文被围观1929日期: 2018-10-08 分类 : 服务器  标签:  ··

solr can not be represented as java.sql.Timestamp


今天在导入数据的时候出现这个错误,以前写java的时候也遇到过


一般都是链接数据库的错误:jdbc:mysql://localhost:3306/test

改成:jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true


还需要注意其中的链接符&要转换成html_encode


站点声明:部分内容源自互联网,为传播信息之用,如有侵权,请联系我们删除。

© Copyright 2011-2024 www.kfju.com. All Rights Reserved.
超级字帖 版权所有。蜀ICP备12031064号