分类:myBatis
2020
11-03
一、需求说明使用mybatis框架查询数据库user表数据并打印到控制台上二、数据库数据准备--创建用户表createtableuser(idintprimarykeyauto_increment,usernamevarchar(20)notnull,birthdaydate,sexchar(1)default'男',addressvarchar(50));--添加用户数据insertintouservalues(null,'孙悟空','1980-10-24','男','花果山水帘洞');insertintouservalues(null,'白骨精','1992-11-12','女','白虎岭白骨...
继续阅读 >
2020
11-03
1、环境搭建1.1表结构createtableuser(idintprimarykeyauto_increment,usernamevarchar(20)notnull,birthdaydate,sexchar(1)default'男',addressvarchar(50));insertintouservalues(null,'孙悟空','1980-10-24','男','花果山水帘洞');insertintouservalues(null,'白骨精','1992-11-12','女','白虎岭白骨洞');insertintouservalues(null,'猪八戒','1983-05-20','男','福临山云栈洞');insertin...
继续阅读 >
2020
10-30
2020
10-28
2020
10-28
2020
10-28
2020
10-24