当前位置:网站首页>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.
边栏推荐
- Force buckle 1189 Maximum number of "balloons"
- 2021 RoboCom 世界机器人开发者大赛-本科组(复赛)
- Biscuits (examination version)
- Tetris
- 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
- Questions d'examen écrit classiques du pointeur
- pix2pix:使用条件对抗网络的图像到图像转换
- Golang -- TCP implements concurrency (server and client)
- Fuzzy -- basic application method of AFL
- SQLite queries the maximum value and returns the whole row of data
猜你喜欢

Zoom and pan image in Photoshop 2022

Yyds dry inventory SSH Remote Connection introduction

Postman manage test cases
![[lgr-109] Luogu may race II & windy round 6](/img/fe/d5b67c7dff759c519a04da023630ea.png)
[lgr-109] Luogu may race II & windy round 6

Unity Vector3. Use and calculation principle of reflect

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

Notes, continuation, escape and other symbols
![[classic example] binary tree recursive structure classic topic collection @ binary tree](/img/39/0319c4be43716f927b9d98d89f7655.jpg)
[classic example] binary tree recursive structure classic topic collection @ binary tree

February 12 relativelayout

Pagoda configuration mongodb
随机推荐
Driver development - hellowdm driver
Postman assertion
Golang -- TCP implements concurrency (server and client)
Three methods of Oracle two table Association update
Realize a binary read-write address book
[noip2009 popularization group] score line delimitation
yolov5 tensorrt加速
Oracle deletes duplicate data, leaving only one
In 2022, we must enter the big factory as soon as possible
Modbus协议通信异常
2021robocom robot developer competition (Preliminary)
jdbc使用call调用存储过程报错
Select knowledge points of structure
2022 half year summary
组播和广播的知识点梳理
Sliding window problem review
Quelques conseils communs sur l'inspecteur de l'unit é, généralement pour les extensions d'éditeur ou d'autres
Leetcode dynamic planning day 16
Fiddler installed the certificate, or prompted that the certificate is invalid
毕业设计游戏商城