当前位置:网站首页>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 :
边栏推荐
猜你喜欢
Postman core function analysis - parameterization and test report
浅谈专项测试之弱网络测试
Caused by:org. gradle. api. internal. plugins . PluginApplicationException: Failed to apply plugin
LeetCode 729. 我的日程安排表 I
使用Nacos管理配置
MySQL之数据类型
全程实现单点登录功能和请求被取消报错“cancelToken“ of undefined的解决方法
MySQL之基础知识
在uni-app中使用腾讯视频插件播放视频
LeetCode 731. 我的日程安排表 II
随机推荐
SourceInsight Chinese garbled
Idea new UI usage
對數據安全的思考(轉載)
Manhattan distance and Manhattan rectangle - print back font matrix
MFC关于长字符串unsigned char与CString转换及显示问题
Manage configuration using Nacos
Simulation volume leetcode [general] 1405 Longest happy string
Postman核心功能解析-参数化和测试报告
「 WEB测试工程师 」岗位一面总结
MySQL之数据类型
[postman] the monitors monitoring API can run periodically
D - How Many Answers Are Wrong
On weak network test of special test
RestTemplate、Feign实现Token传递
把el-tree选中的数组转换为数组对象
Isam2 operation process
模拟卷Leetcode【普通】1414. 和为 K 的最少斐波那契数字数目
Simulation volume leetcode [general] 1447 Simplest fraction
leetcode 24. Exchange the nodes in the linked list in pairs
Significance of unit testing