摘要: java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp 问题描述, 在java应用程序中,数据表中有记录的time字段(属性为timestamp)其值为:“0000 阅读全文
posted @ 2018-05-28 17:50 xu_shuyi 阅读(153) 评论(0) 推荐(0)
摘要: 经查证springdatajpa使用的默认策略是ImprovedNamingStrategy 所以修改配置下下hibernate的命名策略就可以了在application.properties文件中加入 spring.jpa.hibernate.naming.physical-strategy=or 阅读全文
posted @ 2018-05-28 17:36 xu_shuyi 阅读(608) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/u013474104/article/details/78547017 其它:http://blog.csdn.net/xgc007/article/details/52997723 https://code.google.com/archive/p 阅读全文
posted @ 2018-05-28 12:54 xu_shuyi 阅读(1035) 评论(0) 推荐(0)