Skip to content

MySQL data source storage failed to save dinky1.2.1+flink1.18 (mysql-connector-java-8.0.28.jar) #4207

@a-simple-crossover

Description

@a-simple-crossover

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

报错信息如下:
org.dinky.aop.exception.UnKnownExceptionHandler 39 unknownException - Null key returned for cache operation (maybe you are using named params on classes without debug info?) Builder[public org.dinky.data.result.Result org.dinky.controller.DataSourceController.saveOrUpdateDataBase(org.dinky.data.dto.DataBaseDTO)] caches=[metadata_schema] | key='#dataBaseDTO.id' | keyGenerator='' | cacheManager='' | cacheResolver='' | condition='',false,false java.lang.IllegalArgumentException: Null key returned for cache operation (maybe you are using named params on classes without debug info?) Builder[public org.dinky.data.result.Result org.dinky.controller.DataSourceController.saveOrUpdateDataBase(org.dinky.data.dto.DataBaseDTO)] caches=[metadata_schema] | key='#dataBaseDTO.id' | keyGenerator='' | cacheManager='' | cacheResolver='' | condition='',false,false

What you expected to happen

测试链接正常,保存失败

How to reproduce

根据官方文档,将flink相关包拷贝后,在lib目录增加mysql-connector-java-8.0.28.jar后启动项目,(使用mysql,并且配置的mysql与jar版本一致,创建数据源的数据库版本也一致)

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions