1,加载JDBC驱动
2,连接到数据库
3,准备sql语句 增删改查
insert into person (name,number) values ('zhangsan','110')
select * from person
update person set number='119' where name='zhangsan'
delete from person where name='zhangsan'
1,加载JDBC驱动
2,连接到数据库
3,准备sql语句 增删改查
insert into person (name,number) values ('zhangsan','110')
select * from person
update person set number='119' where name='zhangsan'
delete from person where name='zhangsan'