当前位置:网站首页>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 :
边栏推荐
- 黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
- PHP uses redis to implement distributed locks
- [C language] qsort function
- selenium源码通读·9 |DesiredCapabilities类分析
- Simulation volume leetcode [general] 1249 Remove invalid parentheses
- D - How Many Answers Are Wrong
- Manhattan distance and Manhattan rectangle - print back font matrix
- Basic knowledge of MySQL
- Application du Groupe Li dans gtsam
- QT: the program input point xxxxx cannot be located in the dynamic link library.
猜你喜欢
Postman core function analysis - parameterization and test report
oscp raven2靶机渗透过程
LeetCode 731. 我的日程安排表 II
黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
技术分享 | 常见接口协议解析
【微信小程序】搭建开发工具环境
LeetCode 732. 我的日程安排表 III
[postman] collections configuration running process
曼哈顿距离与曼哈顿矩形-打印回字型矩阵
[postman] test script writing and assertion details
随机推荐
E - food chain
Full link voltage measurement: building three models
【微信小程序】搭建开发工具环境
Overview of three core areas of Mathematics: algebra
浅谈专项测试之弱网络测试
曼哈顿距离与曼哈顿矩形-打印回字型矩阵
Summary of the post of "Web Test Engineer"
[wechat applet] build a development tool environment
Still worrying about how to write web automation test cases? Senior test engineers teach you selenium test case writing hand in hand
Caused by:org. gradle. api. internal. plugins . PluginApplicationException: Failed to apply plugin
联合索引的左匹配原则
Simulation volume leetcode [general] 1143 Longest common subsequence
LeetCode 729. 我的日程安排表 I
【Postman】Collections配置运行过程
Idea new UI usage
Summary of anomaly detection methods
The latest 2022 review of "graph classification research"
Basic knowledge of MySQL
模拟卷Leetcode【普通】1414. 和为 K 的最少斐波那契数字数目
Postman核心功能解析-参数化和测试报告