struts+hibernate+mysql做的增删改查小例子

上传者: rendeyishi | 上传时间: 2019-12-21 20:59:51 | 文件大小: 10.93MB | 文件类型: zip
这里使用hibernate+strtus做的一个增删改查,特别试用刚开始学习这个技术的新的朋友。数据库使用的是mysql.这个例子是用户和部门之间的一个小的查询。有一个关联。

文件下载

资源详情

[{"title":"( 73 个子文件 10.93MB ) struts+hibernate+mysql做的增删改查小例子","children":[{"title":"userCenterTest","children":[{"title":".project <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":".mystrutsdata <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":".mymetadata <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"service","children":[{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"DepartmentServiceImpl.java <span style='color:#111;'> 839B </span>","children":null,"spread":false}],"spread":true},{"title":"DepartmentService.java <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"UserService.java <span style='color:#111;'> 459B </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"UserAction.java <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"struts.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"hibernate.cfg.xml <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"dao","children":[{"title":"UserDao.java <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserDaoImpl.java <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"DepartmentDaoImpl.java <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"DepartmentDao.java <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"BaseDao.java <span style='color:#111;'> 219B </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"User.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Department.java <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"Department.hbm.xml <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"User.hbm.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"HibernateSessionFactory.java <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"WebRoot","children":[{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"service","children":[{"title":"UserService.class <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"DepartmentServiceImpl.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"UserServiceImpl.class <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"DepartmentService.class <span style='color:#111;'> 428B </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"UserAction.class <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"struts.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"hibernate.cfg.xml <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"dao","children":[{"title":"DepartmentDao.class <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"DepartmentDaoImpl.class <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"UserDaoImpl.class <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"BaseDao.class <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"UserDao.class <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"User.class <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"Department.hbm.xml <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"User.hbm.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"HibernateSessionFactory.class <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"Department.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"struts2-dojo-plugin-2.2.3.1.jar <span style='color:#111;'> 1.65MB </span>","children":null,"spread":false},{"title":"struts2-core-2.2.3.1.jar <span style='color:#111;'> 756.19KB </span>","children":null,"spread":false},{"title":"dom4j-1.6.1.jar <span style='color:#111;'> 306.54KB </span>","children":null,"spread":false},{"title":"slf4j-nop-1.6.1.jar <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"commons-logging-1.1.1.jar <span style='color:#111;'> 59.26KB </span>","children":null,"spread":false},{"title":"struts2-spring-plugin-2.2.3.1.jar_ <span style='color:#111;'> 21.23KB </span>","children":null,"spread":false},{"title":"javassist-3.11.0.GA.jar <span style='color:#111;'> 599.81KB </span>","children":null,"spread":false},{"title":"antlr-2.7.6.jar <span style='color:#111;'> 433.04KB </span>","children":null,"spread":false},{"title":"commons-collections-3.1.jar <span style='color:#111;'> 546.26KB </span>","children":null,"spread":false},{"title":"commons-io-2.0.1.jar <span style='color:#111;'> 155.77KB </span>","children":null,"spread":false},{"title":"hibernate-jpa-2.0-api-1.0.1.Final.jar <span style='color:#111;'> 100.25KB </span>","children":null,"spread":false},{"title":"slf4j-api-1.6.1.jar <span style='color:#111;'> 24.90KB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.2.2.jar <span style='color:#111;'> 58.19KB </span>","children":null,"spread":false},{"title":"hibernate3.jar <span style='color:#111;'> 3.96MB </span>","children":null,"spread":false},{"title":"freemarker-2.3.16.jar <span style='color:#111;'> 860.34KB </span>","children":null,"spread":false},{"title":"xwork-core-2.2.3.1.jar <span style='color:#111;'> 601.97KB </span>","children":null,"spread":false},{"title":"commons-lang-2.5.jar <span style='color:#111;'> 272.65KB </span>","children":null,"spread":false},{"title":"jta-1.1.jar <span style='color:#111;'> 10.64KB </span>","children":null,"spread":false},{"title":"commons-logging-api-1.1.jar <span style='color:#111;'> 43.55KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.1.20.jar <span style='color:#111;'> 783.91KB </span>","children":null,"spread":false},{"title":"ognl-3.0.1.jar <span style='color:#111;'> 224.01KB </span>","children":null,"spread":false},{"title":"javassist-3.12.0.GA.jar <span style='color:#111;'> 618.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"web.xml <span style='color:#111;'> 685B </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 829B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 36B </span>","children":null,"spread":false}],"spread":true},{"title":"addOrUpdateUser.jsp <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"userList.jsp <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":".myeclipse","children":null,"spread":false},{"title":".myhibernatedata <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"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;'> 252B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 395B </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;'> 480B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 493B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 529B </span>","children":null,"spread":false}],"spread":true},{"title":"testhibernate.sql <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • Simon风云 :
    有点帮助,但运行确实有错呀,不怎么满意
    2016-03-14
  • -小南瓜- :
    有点小bug 不能完美运行
    2015-04-02

免责申明

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