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

Not work for mysql-8 #35

Open
zhangyijun opened this issue Dec 28, 2022 · 0 comments
Open

Not work for mysql-8 #35

zhangyijun opened this issue Dec 28, 2022 · 0 comments

Comments

@zhangyijun
Copy link

org.unidal.dal.jdbc.DalException: Error when executing query(SELECT c.id,c.name,c.content,c.creation_date,c.modify_date FROM config c WHERE c.name = ?) failed, proto: Config[content: null, creation-date: null, id: 0, key-id: 0, modify-date: null, name: eventRule], message: org.unidal.dal.jdbc.DalRuntimeException: Error when setting value of field(creation-date) of class com.dianping.cat.core.config.Config, required: class java.util.Date, but: class java.time.LocalDateTime.
at org.unidal.dal.jdbc.query.msyql.MysqlReadHandler.executeQuery(MysqlReadHandler.java:73)
at org.unidal.dal.jdbc.query.DefaultQueryExecutor.executeQuery(DefaultQueryExecutor.java:21)
at org.unidal.dal.jdbc.engine.DefaultQueryEngine.querySingle(DefaultQueryEngine.java:114)
at com.dianping.cat.core.config.ConfigDao.findByName(ConfigDao.java:51)
at com.dianping.cat.report.alert.spi.config.BaseRuleConfigManager.refreshConfig(BaseRuleConfigManager.java:128)
at com.dianping.cat.report.alert.spi.config.BaseRuleConfigManager.access$000(BaseRuleConfigManager.java:59)
at com.dianping.cat.report.alert.spi.config.BaseRuleConfigManager$1.handle(BaseRuleConfigManager.java:121)
at com.dianping.cat.task.TimerSyncTask$1.run(TimerSyncTask.java:82)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)

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

1 participant