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

关于jdbc:mysql PreparedStatement 使用问题

Asked Sep 6, 2024 Modified Sep 6, 2024
Viewed 106
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
SelectDB Doris 2.1.8-3:CCR 下游集群 20 台 BE 缩容 1 台时 lag 持续增大,取消缩容后恢复
jetty 安全漏洞CVE-2026-10050
1 answers
通过spark connector写入数据时,doris.fenodes配置了多个节点,但只有第一个节点生效。
1 answers
Flink Connector 26.3.0 读取 DATETIME 变成 1970 年,切换 25.0.0 后正常
1 answers
SelectDB Doris 2.1.8-3 升级使用灵活部分列更新,推荐版本及升级流程咨询
1 answers
Apache Doris Dashboard未授权访问漏洞
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 中文技术论坛.