hibernate简单程序,实现从页面对数据库的增删改查(主从表关联)

上传者: 34178998 | 上传时间: 2019-12-21 20:42:44 | 文件大小: 7.96MB | 文件类型: rar
前段时期一直使用三层来写从页面对数据库的增删改查,今天用hibernate框架来实现从页面对数据库的增删改查, 首先介绍下今天我们要实现的功能, 1、用户能够注册,2、注册成功后直接跳到登录页面,3、登录成功后直接跳到对公司、人员的增删改查, 4、要有对人员界面的分页功能

文件下载

资源详情

[{"title":"( 63 个子文件 7.96MB ) hibernate简单程序,实现从页面对数据库的增删改查(主从表关联)","children":[{"title":"company","children":[{"title":".project <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":".mymetadata <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"hibernate.cfg.xml <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"dao","children":[{"title":"selectone.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"RyDao.java <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"BmDao.java <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"user.java <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"user.hbm.xml <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"bm.hbm.xml <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"bm.java <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"ry.hbm.xml <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"ry.java <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"servlet","children":[{"title":"RyServlet.java <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"Userzhuceservlet.java <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"BmServlet.java <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"unity","children":[{"title":"unitl.java <span style='color:#111;'> 717B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"jboss-logging-annotations-1.2.0.Beta1.jar <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false},{"title":"hibernate-commons-annotations-4.0.5.Final.jar <span style='color:#111;'> 73.56KB </span>","children":null,"spread":false},{"title":"javassist-3.18.1-GA.jar <span style='color:#111;'> 697.46KB </span>","children":null,"spread":false},{"title":"dom4j-1.6.1.jar <span style='color:#111;'> 306.54KB </span>","children":null,"spread":false},{"title":"hibernate-core-4.3.11.Final.jar <span style='color:#111;'> 5.04MB </span>","children":null,"spread":false},{"title":"hibernate-jpa-2.1-api-1.0.0.Final.jar <span style='color:#111;'> 110.71KB </span>","children":null,"spread":false},{"title":"jboss-logging-3.1.3.GA.jar <span style='color:#111;'> 55.84KB </span>","children":null,"spread":false},{"title":"antlr-2.7.7.jar <span style='color:#111;'> 434.85KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.1.43-bin.jar <span style='color:#111;'> 975.60KB </span>","children":null,"spread":false},{"title":"jandex-1.1.0.Final.jar <span style='color:#111;'> 74.76KB </span>","children":null,"spread":false},{"title":"jboss-transaction-api_1.2_spec-1.0.0.Final.jar <span style='color:#111;'> 27.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"WebRoot","children":[{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"hibernate.cfg.xml <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"dao","children":[{"title":"BmDao.class <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"RyDao.class <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"selectone.class <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"ry.class <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"user.hbm.xml <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"user.class <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"bm.hbm.xml <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"bm.class <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"ry.hbm.xml <span style='color:#111;'> 638B </span>","children":null,"spread":false}],"spread":true},{"title":"servlet","children":[{"title":"RyServlet.class <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false},{"title":"Userzhuceservlet.class <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"BmServlet.class <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"unity","children":[{"title":"unitl.class <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"jstl.jar <span style='color:#111;'> 20.20KB </span>","children":null,"spread":false},{"title":"jquery-1.8.0.min.js <span style='color:#111;'> 90.39KB </span>","children":null,"spread":false},{"title":"standard.jar <span style='color:#111;'> 384.04KB </span>","children":null,"spread":false},{"title":"sqljdbc4.jar <span style='color:#111;'> 524.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"web.xml <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"left.jsp <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"addbm.jsp <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 1022B </span>","children":null,"spread":false},{"title":"zhuce.jsp <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"updatery.jsp <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"right.jsp <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"showbm.jsp <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"head.jsp <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 36B </span>","children":null,"spread":false}],"spread":false},{"title":"showry.jsp <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"bg3.jpg <span style='color:#111;'> 56.75KB </span>","children":null,"spread":false},{"title":"login.jsp <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"jquery-1.8.0.min.js <span style='color:#111;'> 90.39KB </span>","children":null,"spread":false},{"title":"addren.jsp <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"updatebm.jsp <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":false},{"title":".myeclipse","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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