使用PreparedStatement实现添加表数据

来自姬鸿昌的知识库
Jihongchang讨论 | 贡献2022年12月15日 (四) 03:43的版本
跳到导航 跳到搜索

https://www.bilibili.com/video/BV1eJ411c7rf?p=13

An object that represents a precompiled SQL statement.


java.sql.Connection

package java.sql;

……

public interface Connection  extends Wrapper, AutoCloseable {
……
    PreparedStatement prepareStatement(String sql) throws SQLException;
……
}