当前位置:网站首页>jdbc使用call调用存储过程报错
jdbc使用call调用存储过程报错
2022-07-06 05:15:00 【瀚高PG实验室】
瀚高数据库
目录
环境
文档用途
详细信息
环境
系统平台:Linux x86-64 Red Hat Enterprise Linux 7
版本:6.0,4.5
文档用途
解决jdbc调用存储过程报错Error querying database. Cause: com.highgo.jdbc.util.PSQLException:
错误: sp_gencapacitydatasub(character varying, character varying, timestamp without time zone, timestamp without time zone, timestamp without time zone) 是一个过程 建议:要调用过程,请使用CALL。
详细信息
jdbc默认模式下,驱动程序总是使用 SELECT 语句(仅允许函数调用),解决此问题可以在jdbc连接串中添加escapeSyntaxCallMode=call来解决此问题(仅允许调用过程),jdbc要想同时调用函数和过程可以添加escapeSyntaxCallMode=callIfNoReturn。
边栏推荐
- Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
- Class inheritance in yyds dry inventory C
- Yolov5 tensorrt acceleration
- Postman Association
- Pickle and savez_ Compressed compressed volume comparison
- Basic knowledge and examples of binary tree
- GAMES202-WebGL中shader的编译和连接(了解向)
- ByteDance program yuan teaches you how to brush algorithm questions: I'm not afraid of the interviewer tearing the code
- Collection + interview questions
- [buuctf.reverse] 159_ [watevrCTF 2019]Watshell
猜你喜欢
![[effective Objective-C] - memory management](/img/1e/611aa998486bbac76ac103c3091794.jpg)
[effective Objective-C] - memory management

Extension of graph theory

Codeforces Round #804 (Div. 2)

Why does MySQL need two-phase commit

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

Unity Vector3. Use and calculation principle of reflect

Ora-01779: the column corresponding to the non key value saving table cannot be modified

Leetcode dynamic planning day 16

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

The IPO of mesk Electronics was terminated: Henan assets, which was once intended to raise 800 million yuan, was a shareholder
随机推荐
MySQL time processing
Codeforces Round #804 (Div. 2)
Yyds dry inventory SSH Remote Connection introduction
JS quick start (II)
驱动开发——第一个HelloDDK
EditorUtility. The role and application of setdirty in untiy
Rce code and Command Execution Vulnerability
集合详解之 Map + 面试题
Postman断言
[buuctf.reverse] 159_ [watevrCTF 2019]Watshell
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
Why does MySQL need two-phase commit
指針經典筆試題
Idea one key guide package
Steady, 35K, byte business data analysis post
[mask requirements of OSPF and Isis in multi access network]
集合详解之 Collection + 面试题
组播和广播的知识点梳理
Postman前置脚本-全局变量和环境变量
[untitled]