-
Notifications
You must be signed in to change notification settings - Fork 159
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
clickhouse数据库可以适配吗? #55
Comments
这块还在开发中。有兴趣你可以提交PR |
objsql调用jdbc插入部分 ObjectiveSql/core/src/main/java/com/github/braisdom/objsql/jdbc/QueryRunner.java Line 599 in 58e67c5
clickhouse驱动对prepareStatement方法的实现
|
这应该是数据库适配,你先手工调整一下,我查看一下是否有API 判断是否支持Statement.RETURN_GENERATED_KEYS 这类API,如果没有,可以在外层catch SQLFeatureNotSupportedException 异常 |
我觉得这块可以考虑
如果domains设置非主键自增,调用
|
你的想法是可行的,但不够健全,如果Clickhouse 有大量的DomainModel 都要去设计 autoGenerated 有点麻烦,还是要增强底层程序的健壮性,这是API 设计的基本特性 |
@catchex @activepirate 请问两位最后是怎么解决该问题的 我现在也遇到了 |
clickhouse表不能设置主键自增,现在的版本,支不支持clickhouse数据库阿
The text was updated successfully, but these errors were encountered: