package cn.itcast.jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
/**
* account表 添加一条记录 insert 语句
*/
public class JDBCDemo2 {
public static void main(String[] args) {
Statement stmt = null;
Connection conn = null;
//为了最终会释放资源,走finally
try
jdbc插入数据 insert into
最新推荐文章于 2024-02-22 14:26:04 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)