Description: This code is good enough to show the basic syntax of Hibernate and display function, suitable for beginners to understand and grasp to Hibernate.
To Search:
File list (Check if you may need any files):
HibernateDemo\.classpath
.............\.myhibernatedata
.............\.mymetadata
.............\.project
.............\.settings\.jsdtscope
.............\.........\org.eclipse.jdt.core.prefs
.............\.........\org.eclipse.wst.jsdt.ui.superType.container
.............\.........\org.eclipse.wst.jsdt.ui.superType.name
.............\src\com\fengqing\action\ListAllUsersAction.java
.............\...\...\........\......\RegistAction.java
.............\...\...\........\dao\impl\UserDaoImpl.java
.............\...\...\........\...\UserDao.java
.............\...\...\........\model\User.java
.............\...\...\........\service\impl\UserServerImpl.java
.............\...\...\........\.......\UserServer.java
.............\...\...\........\util\HibernateUtil.java
.............\...\fengqing.sql
.............\...\hibernate.cfg.xml
.............\...\struts.xml
.............\...\User.hbm.xml
.............\WebRoot\index.jsp
.............\.......\listAllUsers.jsp
.............\.......\META-INF\MANIFEST.MF
.............\.......\regist.jsp
.............\.......\WEB-INF\classes\com\fengqing\action\ListAllUsersAction.class
.............\.......\.......\.......\...\........\......\RegistAction.class
.............\.......\.......\.......\...\........\dao\impl\UserDaoImpl.class
.............\.......\.......\.......\...\........\...\UserDao.class
.............\.......\.......\.......\...\........\model\User.class
.............\.......\.......\.......\...\........\service\impl\UserServerImpl.class
.............\.......\.......\.......\...\........\.......\UserServer.class
.............\.......\.......\.......\...\........\util\HibernateUtil.class
.............\.......\.......\.......\fengqing.sql
.............\.......\.......\.......\hibernate.cfg.xml
.............\.......\.......\.......\struts.xml
.............\.......\.......\.......\User.hbm.xml
.............\.......\.......\lib\antlr-2.7.6.jar
.............\.......\.......\...\cglib-2.2.jar
.............\.......\.......\...\commons-collections-3.1.jar
.............\.......\.......\...\commons-fileupload-1.2.2.jar
.............\.......\.......\...\commons-io-2.0.1.jar
.............\.......\.......\...\commons-lang3-3.1.jar
.............\.......\.......\...\commons-logging-1.1.1.jar
.............\.......\.......\...\dom4j-1.6.1.jar
.............\.......\.......\...\ehcache-1.2.3.jar
.............\.......\.......\...\ejb3-persistence.jar
.............\.......\.......\...\freemarker-2.3.19.jar
.............\.......\.......\...\hibernate-annotations.jar
.............\.......\.......\...\hibernate-commons-annotations.jar
.............\.......\.......\...\hibernate-entitymanager.jar
.............\.......\.......\...\hibernate-validator.jar
.............\.......\.......\...\hibernate3.jar
.............\.......\.......\...\javassist-3.11.0.GA.jar
.............\.......\.......\...\javassist-3.9.0.GA.jar
.............\.......\.......\...\jta-1.1.jar
.............\.......\.......\...\log4j-1.2.14.jar
.............\.......\.......\...\ognl-3.0.6.jar
.............\.......\.......\...\ojdbc6.jar
.............\.......\.......\...\slf4j-api-1.5.8.jar
.............\.......\.......\...\slf4j-log4j12-1.5.8.jar
.............\.......\.......\...\struts2-core-2.3.8.jar
.............\.......\.......\...\xwork-core-2.3.8.jar
.............\.......\.......\web.xml
.............\.......\.......\classes\com\fengqing\dao\impl
.............\.......\.......\.......\...\........\service\impl
.............\.......\.......\.......\...\........\action
.............\.......\.......\.......\...\........\dao
.............\.......\.......\.......\...\........\model
.............\.......\.......\.......\...\........\service
.............\.......\.......\.......\...\........\util
.............\src\com\fengqing\dao\impl
.............\...\...\........\service\impl
.............\WebRoot\WEB-INF\classes\com\fengqing
.............\src\com\fengqing\action
.............\...\...\........\dao
.............\...\...\........\model
.............\...\...\........\service
.............\...\...\........\util
.............\WebRoot\WEB-INF\cl