当前位置:网站首页>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 :
边栏推荐
- sourceInsight中文乱码
- Simulation volume leetcode [general] 1314 Matrix area and
- 自定义指定路由上的Gateway过滤器工厂
- 浅谈专项测试之弱网络测试
- Full link voltage measurement: building three models
- 模拟卷Leetcode【普通】1091. 二进制矩阵中的最短路径
- Simulation volume leetcode [general] 1091 The shortest path in binary matrix
- Pat (Grade B) 2022 summer exam
- Reading notes of effective managers
- LeetCode 732. 我的日程安排表 III
猜你喜欢
Delete the variables added to watch1 in keil MDK
Win10 cannot operate (delete, cut) files
ESP32 ESP-IDF看门狗TWDT
黑猫带你学UFS协议第4篇:UFS协议栈详解
MFC on the conversion and display of long string unsigned char and CString
Redis 核心技术与实战之 基本架构:一个键值数据库包含什么?
黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
Technology sharing | common interface protocol analysis
MFC关于长字符串unsigned char与CString转换及显示问题
自定义指定路由上的Gateway过滤器工厂
随机推荐
对数据安全的思考(转载)
模拟卷Leetcode【普通】1061. 按字典序排列最小的等效字符串
模拟卷Leetcode【普通】1314. 矩阵区域和
D - How Many Answers Are Wrong
Hypothesis testing learning notes
Web界面元素的测试
QT: the program input point xxxxx cannot be located in the dynamic link library.
这些年用Keil遇到的坑
org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容
Testing of web interface elements
Database isolation level
Summary of anomaly detection methods
Isam2 and incrementalfixedlagsmooth instructions in gtsam
Simulation volume leetcode [general] 1062 Longest repeating substring
Simulation volume leetcode [general] 1091 The shortest path in binary matrix
keil MDK中删除添加到watch1中的变量
Past and present lives of QR code and sorting out six test points
Construction and integration of Zipkin and sleuth for call chain monitoring
Simulation volume leetcode [general] 1314 Matrix area and
Simulation volume leetcode [general] 1061 Arrange the smallest equivalent strings in dictionary order