当前位置:网站首页>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.
边栏推荐
- Driver development - hellowdm driver
- nacos-高可用seata之TC搭建(02)
- SQLite add index
- February 12 relativelayout
- Codeforces Round #804 (Div. 2)
- 【OSPF 和 ISIS 在多路访问网络中对掩码的要求】
- Summary of redis AOF and RDB knowledge points
- Some common skills on unity inspector are generally used for editor extension or others
- Mysql高级篇学习总结9:创建索引、删除索引、降序索引、隐藏索引
- 初识CDN
猜你喜欢
从0到1建设智能灰度数据体系:以vivo游戏中心为例
GAMES202-WebGL中shader的编译和连接(了解向)
[lgr-109] Luogu may race II & windy round 6
Vulhub vulnerability recurrence 71_ Unomi
Why does MySQL need two-phase commit
Ora-01779: the column corresponding to the non key value saving table cannot be modified
Huawei equipment is configured with OSPF and BFD linkage
图数据库ONgDB Release v-1.0.3
Safe mode on Windows
F12 solve the problem that web pages cannot be copied
随机推荐
[untitled]
Quelques conseils communs sur l'inspecteur de l'unit é, généralement pour les extensions d'éditeur ou d'autres
Postman pre script - global variables and environment variables
浅谈镜头滤镜的类型及作用
In 2022, we must enter the big factory as soon as possible
Postman manage test cases
Principle and performance analysis of lepton lossless compression
Oracle query table index, unique constraint, field
February 12 relativelayout
Fuzzy -- basic application method of AFL
idea一键导包
2021robocom robot developer competition (Preliminary)
Collection + interview questions
Vulhub vulnerability recurrence 68_ ThinkPHP
【torch】|torch.nn.utils.clip_grad_norm_
C AES encrypts strings
Postman test report
Three methods of Oracle two table Association update
指針經典筆試題
Pointer classic written test questions