Apache Doris 中文技术论坛
Questions Tags Users Badges

关于jdbc:mysql PreparedStatement 使用问题

Asked Sep 6, 2024 Modified Sep 6, 2024
Viewed 76
2.1

image.png
这个的意思是不是,unique-key模型里面,只有设定为key的字段才可以是不?如果是明细模型,是否可以使用这个PreparedStatement呢?
image.png
有报错
image.png
但是有返回结果

edited Sep 6, 2024
leoleo17
asked Sep 6, 2024
1 Answers

可以使用PreparedStatement来查询duplicate模型的数据。

edited Jan 1, 1970
黄海军@SelectDB5218
answered Sep 6, 2024
Related Questions
streamloaderd成功执行,但是没有导入数据到表里。
1 answers
doris2.1.11重复建表报错内容异常,不会提示表已经存在
1 answers
AUTO LIST PARTITION 分区名长度为何限制 50?能否配置放宽/取消?
我们通过hive catalog外表同步数据,有时候hive表会很大导致内存占满了会杀掉其他任务,限制内存又会导致同步任务失败,有什么方法可以稳定一下呢,同步效率慢一点什么的也没问题
1 answers
doris be启动报错
2 answers
Doris的json解析问题
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.