当前位置:网站首页>JDBC requset corresponding content and function introduction
JDBC requset corresponding content and function introduction
2022-07-06 06:20:00 【Quack test notes】

SQL Query:
| Field | meaning |
| Variable Name of Pool declared in JDBC Connection Configuration | We can create multiple JDBC Connection Configuration The variables in the ; Select the variable name that has been created and needs to be used this time |
| Query Type | SQL Type of statement : Select Statement: At ordinary times sql How to write , Here's how to write Update Statement Callable Statement Prepared Select Statement A parameterized Prepared Update Statement Commit Rollback AutoCommit(false) AutoCommit(True) Edit |
| Query | Fill in SQL There is no need to add ";" Number |
| Paramenter values | Variables to be passed , If there are multiple variables, use , Separate |
| Paramenter types | Variable type |
| Variable names | preservation sql Statement and the total number of data returned use , Separate ; Skip columns with empty |
| Result variable name | One Object Variable stores all return values |
| Query timeout(s) | Timeout time ; Default 0, For infinite time |
| Limit ResultSet | and limit Similar effects , Limit sql Statement returns the number of rows in the result set |
| Handle ResultSet | How to define callable statements The result set returned ; The default is stored as a string Store as String Store as Object Count Records Edit |
give an example 1: Only SQL Statement does nothing else .
JDBC request

Running results :

Example 2 : Use placeholders
JDBC Request

result :

Example 3 :
JBCD Request If the parameter passed is a variable , How to deal with it ?
Here is a learning link :
边栏推荐
- 【C语言】qsort函数
- Simulation volume leetcode [general] 1061 Arrange the smallest equivalent strings in dictionary order
- 【eolink】PC客户端安装
- Pat (Grade B) 2022 summer exam
- 曼哈顿距离与曼哈顿矩形-打印回字型矩阵
- [eolink] PC client installation
- Nodejs realizes the third-party login of Weibo
- Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete
- Simulation volume leetcode [general] 1447 Simplest fraction
- PHP uses redis to implement distributed locks
猜你喜欢

MFC on the conversion and display of long string unsigned char and CString

MySQL之数据类型

win10无法操作(删除、剪切)文件

Detailed explanation of P problem, NP problem, NPC problem and NP hard problem

F - true liars (category and search set +dp)

Fault, error, failure of functional safety

F - True Liars (种类并查集+DP)
![[postman] test script writing and assertion details](/img/65/6520fe78bb2b3ff99f16d09ea8c0d1.png)
[postman] test script writing and assertion details

浅谈专项测试之弱网络测试

ESP32 ESP-IDF看门狗TWDT
随机推荐
Properties file
黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
E - 食物链
Idea new UI usage
全程实现单点登录功能和请求被取消报错“cancelToken“ of undefined的解决方法
Digital triangle model acwing 1015 Picking flowers
Database - current read and snapshot read
GTSAM中李群的運用
Pat (Grade B) 2022 summer exam
MySQL之基础知识
Postman核心功能解析-参数化和测试报告
Delete the variables added to watch1 in keil MDK
Overview of three core areas of Mathematics: geometry
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
模拟卷Leetcode【普通】1143. 最长公共子序列
JMeter做接口测试,如何提取登录Cookie
ICLR 2022 spotlight | analog transformer: time series anomaly detection method based on correlation difference
Play video with Tencent video plug-in in uni app
Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
职场进阶指南:大厂人必看书籍推荐