JDBC系列:(3)使用Prepared
- 2020 年 1 月 9 日
- 笔记
|
接口 |
作用 |
|---|---|
|
Statement接口 |
用于执行静态的sql语句 |
|
PreparedStatement接口 |
用于执行预编译sql语句 |
|
CallableStatement接口 |
用于执行存储过程的sql语句(call xxx) |
|
接口 |
作用 |
|---|---|
|
Statement接口 |
用于执行静态的sql语句 |
|
PreparedStatement接口 |
用于执行预编译sql语句 |
|
CallableStatement接口 |
用于执行存储过程的sql语句(call xxx) |