“使用PreparedStatement实现添加表数据”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
第2行: 第2行:
  
 
An object that represents a precompiled SQL statement.
 
An object that represents a precompiled SQL statement.
 +
 +
 +
java.sql.Connection<syntaxhighlight lang="java">
 +
package java.sql;
 +
 +
……
 +
 +
public interface Connection  extends Wrapper, AutoCloseable {
 +
……
 +
    PreparedStatement prepareStatement(String sql) throws SQLException;
 +
……
 +
}
 +
</syntaxhighlight>

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;
……
}