MyBatis数据库操作与核心配置(含源码以及结果图)

上传者: 38662410 | 上传时间: 2019-12-21 20:49:51 | 文件大小: 6.98MB | 文件类型: zip
已知有一个学生信息表(StudentInfo),其包含以下字段:id(int, primary key, auto increment),StuNo(学号,long),Name(姓名,varchar),Birthday(出生日期,date),dorm(宿舍地址,varchar),home(家庭地址,varchar),Phone(手机,long) 使用MyBatis实现以下功能(功能中涉及的输入信息都通过控制台输入): (1)插入学生信息(插入至少20条学生记录) (2)查询学生信息,包括:根据学号的精确查询;根据姓名、宿舍地址、家庭地址的模糊查询;显示每个学生的年龄,并按年龄的降序排序。 (3)修改信息,包括:根据学号修改学生信息;将同一个宿舍的学生的宿舍地址换成新地址。 (4)根据学号删除学生信息。

文件下载

资源详情

[{"title":"( 44 个子文件 6.98MB ) MyBatis数据库操作与核心配置(含源码以及结果图)","children":[{"title":"mybatis.sql <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"数据库设计以及结果图.docx <span style='color:#111;'> 438.92KB </span>","children":null,"spread":false},{"title":"使用说明.docx <span style='color:#111;'> 29.19KB </span>","children":null,"spread":false},{"title":"fourth","children":[{"title":".project <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"WebContent","children":[{"title":"WEB-INF","children":[{"title":"lib","children":[{"title":"log4j-core-2.3.jar <span style='color:#111;'> 807.64KB </span>","children":null,"spread":false},{"title":"cglib-3.2.4.jar <span style='color:#111;'> 292.70KB </span>","children":null,"spread":false},{"title":"slf4j-log4j12-1.7.22.jar <span style='color:#111;'> 9.76KB </span>","children":null,"spread":false},{"title":"slf4j-api-1.7.22.jar <span style='color:#111;'> 40.11KB </span>","children":null,"spread":false},{"title":"ant-launcher-1.9.6.jar <span style='color:#111;'> 17.96KB </span>","children":null,"spread":false},{"title":"log4j-1.2.17.jar <span style='color:#111;'> 478.40KB </span>","children":null,"spread":false},{"title":"asm-5.1.jar <span style='color:#111;'> 52.21KB </span>","children":null,"spread":false},{"title":"javassist-3.21.0-GA.jar <span style='color:#111;'> 717.59KB </span>","children":null,"spread":false},{"title":"ant-1.9.6.jar <span style='color:#111;'> 1.94MB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.1.40-bin.jar <span style='color:#111;'> 967.70KB </span>","children":null,"spread":false},{"title":"commons-logging-1.2.jar <span style='color:#111;'> 60.38KB </span>","children":null,"spread":false},{"title":"log4j-api-2.3.jar <span style='color:#111;'> 132.72KB </span>","children":null,"spread":false},{"title":"mybatis-3.4.2.jar <span style='color:#111;'> 1.52MB </span>","children":null,"spread":false},{"title":"ognl-3.1.12.jar <span style='color:#111;'> 230.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"utils","children":[{"title":"MybatisUtils.java <span style='color:#111;'> 831B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"itheima","children":[{"title":"mapper","children":[{"title":"StudentMapper.xml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"MybatisTest.java <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"po","children":[{"title":"Studentdorm.java <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"Student.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"lyy","children":[{"title":"Input.java <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"Age.java <span style='color:#111;'> 806B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"mybatis-config.xml <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 567B </span>","children":null,"spread":false}],"spread":true},{"title":"build","children":[{"title":"classes","children":[{"title":"utils","children":[{"title":"MybatisUtils.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"itheima","children":[{"title":"mapper","children":[{"title":"StudentMapper.xml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"MybatisTest.class <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"po","children":[{"title":"Studentdorm.class <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"Student.class <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"lyy","children":[{"title":"Age.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Input.class <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"mybatis-config.xml <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明