Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

会出现Incorrect TIMESTAMP value: ''2019-07-30''问题,不知道该怎么解决。 #23

Open
YanRuYu123 opened this issue Aug 29, 2019 · 1 comment

Comments

@YanRuYu123
Copy link

com.jfinal.plugin.activerecord.ActiveRecordException: java.sql.SQLException: Incorrect TIMESTAMP value: ''2019-07-30''
at com.jfinal.plugin.activerecord.Model.find(Model.java:579)
at top.qianxinyao.algorithms.RecommendKit.filterReccedNews(RecommendKit.java:124)
at top.qianxinyao.contentbasedrecommend.ContentBasedRecommender.recommend(ContentBasedRecommender.java:95)
at top.qianxinyao.Main.JobSetter.executeInstantJob(JobSetter.java:112)
at top.qianxinyao.Main.JobSetter.executeInstantJobForCertainUsers(JobSetter.java:125)
at top.qianxinyao.Main.TestDataRunner.runTestData(TestDataRunner.java:37)
at top.qianxinyao.Main.Main.main(Main.java:26)
Caused by: java.sql.SQLException: Incorrect TIMESTAMP value: ''2019-07-30''
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:127)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:95)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1019)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:379)
at com.jfinal.plugin.activerecord.Model.find(Model.java:560)
at com.jfinal.plugin.activerecord.Model.find(Model.java:577)
... 6 more

@hhyyssnn
Copy link

请问解决了吗?我也出现了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants