Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Database Related
>
DB Development Package
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
41
Star
102
Fork
131
openGauss
/
openGauss-connector-jdbc
Code
Issues
111
Pull Requests
4
Wiki
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CallableStatement注册出参类型为Types.STRUCT时,CallableStatement.execute()执行报错
Done
#I7IGAY
Bug
zyl
Opened this issue
2023-07-05 08:48
【标题描述】:CallableStatement注册出参类型为Types.STRUCT时,CallableStatement.execute()执行报错 【原因分析】: 1. PgCallstatementTypeCompatibility中并未注册Types.STRUCT到Types.OTHER的类型转换器  2. PgCallableStatement在注册出参时,对Types.STRUCT类型做了特殊处理,实际注册进入PgPreparedStatement为Types.OTHER  3. PgCallableStatement在执行结果提取时,会检查返回类型与注册类型是否一致,因返回列类型与注册不一致,也没有注册类型转换器,则走入抛出异常分支  【测试代码】:
【标题描述】:CallableStatement注册出参类型为Types.STRUCT时,CallableStatement.execute()执行报错 【原因分析】: 1. PgCallstatementTypeCompatibility中并未注册Types.STRUCT到Types.OTHER的类型转换器  2. PgCallableStatement在注册出参时,对Types.STRUCT类型做了特殊处理,实际注册进入PgPreparedStatement为Types.OTHER  3. PgCallableStatement在执行结果提取时,会检查返回类型与注册类型是否一致,因返回列类型与注册不一致,也没有注册类型转换器,则走入抛出异常分支  【测试代码】:
Comments (
2
)
Sign in
to comment
Status
Done
Backlog
Confirmed
已答复
Canceled
挂起
Fixing
Done
待回归
测试中
Accepted
Assignees
Not set
Labels
sig/connectors
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (12)
Tags (20)
master
6.0.0
5.0.0
7.0.0-RC1
3.0.0
5.1.0
2.0.0
3.1.0
2.1.0
1.1.0
1.0.1
1.0.0
v6.0.1
v6.0.0
v5.0.3
v5.0.2
v6.0.0-RC1
v5.0.1-RC1
v5.0.1
v5.1.0
v3.0.5
v5.0.0
v3.0.3
v3.1.1
v3.1.0
v3.0.1
v3.0.0
v2.1.0
v2.0.0
1.1.0
1.0.1
1.0.0
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
Java
1
https://gitee.com/opengauss/openGauss-connector-jdbc.git
git@gitee.com:opengauss/openGauss-connector-jdbc.git
opengauss
openGauss-connector-jdbc
openGauss-connector-jdbc
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register