当前位置:网站首页>JDBC calls the stored procedure with call and reports an error
JDBC calls the stored procedure with call and reports an error
2022-07-06 05:19:00 【Hangao PG Laboratory】
Henkel database
Catalog
Environmental Science
Document purpose
Details
Environmental Science
system platform :Linux x86-64 Red Hat Enterprise Linux 7
edition :6.0,4.5
Document purpose
solve jdbc Call stored procedure to report an error Error querying database. Cause: com.highgo.jdbc.util.PSQLException:
error : sp_gencapacitydatasub(character varying, character varying, timestamp without time zone, timestamp without time zone, timestamp without time zone) It's a process Suggest : To call a procedure , Please use CALL.
Details
jdbc In default mode , Drivers always use SELECT sentence ( Only function calls are allowed ), This problem can be solved in jdbc Add in connection string escapeSyntaxCallMode=call To solve this problem ( Only procedure calls are allowed ),jdbc To call functions and procedures at the same time, you can add escapeSyntaxCallMode=callIfNoReturn.
边栏推荐
- 2021RoboCom机器人开发者大赛(初赛)
- Vulhub vulnerability recurrence 68_ ThinkPHP
- Sorting out the knowledge points of multicast and broadcasting
- 集合详解之 Map + 面试题
- 用StopWatch 统计代码耗时
- 剑指 Offer II 039. 直方图最大矩形面积
- Notes, continuation, escape and other symbols
- Select knowledge points of structure
- 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 ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
猜你喜欢
RT thread analysis - object container implementation and function
C进阶-数据的存储(上)
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
What are the advantages of the industry private network over the public network? What specific requirements can be met?
Acwing week 58
Modbus协议通信异常
Extension of graph theory
nacos-高可用seata之TC搭建(02)
Vite configures the development environment and production environment
Notes, continuation, escape and other symbols
随机推荐
Steady, 35K, byte business data analysis post
【LeetCode】18、四数之和
Easy to understand I2C protocol
Ad20 is set with through-hole direct connection copper sheet, and the bonding pad is cross connected
Postman test report
Simple understanding of interpreters and compilers
Questions d'examen écrit classiques du pointeur
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
In 2022, we must enter the big factory as soon as possible
Pointer classic written test questions
Promotion hung up! The leader said it wasn't my poor skills
Application of Flody
Unity Vector3. Use and calculation principle of reflect
C进阶-数据的存储(上)
Mysql高级篇学习总结9:创建索引、删除索引、降序索引、隐藏索引
Ora-01779: the column corresponding to the non key value saving table cannot be modified
Vulhub vulnerability recurrence 68_ ThinkPHP
Postman Association
Rce code and Command Execution Vulnerability
Principle and performance analysis of lepton lossless compression