Introduction - If you have any usage issues, please Google them yourself
use Hibernate on the example of one-to-one, it is mainly used to control the association hibernate, but not in the table structure set up affiliations. Loosely Coupled to provide a better realization
Packet : 99273912onetomany.rar filelist
onetomany\.classpath
onetomany\.myhibernatedata
onetomany\.mymetadata
onetomany\.project
onetomany\src\org\eimhe\addOrders.java
onetomany\src\org\eimhe\CDAO.java
onetomany\src\org\eimhe\Customer.hbm.xml
onetomany\src\org\eimhe\Customer.java
onetomany\src\org\eimhe\hibernate.cfg.xml
onetomany\src\org\eimhe\HibernateSessionFactory.java
onetomany\src\org\eimhe\ODAO.java
onetomany\src\org\eimhe\Order.hbm.xml
onetomany\src\org\eimhe\Order.java
onetomany\WebRoot\index.jsp
onetomany\WebRoot\META-INF\MANIFEST.MF
onetomany\WebRoot\WEB-INF\classes\org\eimhe\addOrders.class
onetomany\WebRoot\WEB-INF\classes\org\eimhe\CDAO.class
onetomany\WebRoot\WEB-INF\classes\org\eimhe\Customer.class
onetomany\WebRoot\WEB-INF\classes\org\eimhe\Customer.hbm.xml
onetomany\WebRoot\WEB-INF\classes\org\eimhe\hibernate.cfg.xml
onetomany\WebRoot\WEB-INF\classes\org\eimhe\HibernateSessionFactory.class
onetomany\WebRoot\WEB-INF\classes\org\eimhe\ODAO.class
onetomany\WebRoot\WEB-INF\classes\org\eimhe\Order.class
onetomany\WebRoot\WEB-INF\classes\org\eimhe\Order.hbm.xml
onetomany\WebRoot\WEB-INF\lib\antlr-2.7.5H3.jar
onetomany\WebRoot\WEB-INF\lib\asm-attrs.jar
onetomany\WebRoot\WEB-INF\lib\asm.jar
onetomany\WebRoot\WEB-INF\lib\c3p0-0.8.5.2.jar
onetomany\WebRoot\WEB-INF\lib\cglib-2.1.jar
onetomany\WebRoot\WEB-INF\lib\commons-collections-2.1.1.jar
onetomany\WebRoot\WEB-INF\lib\commons-logging-1.0.4.jar
onetomany\WebRoot\WEB-INF\lib\concurrent-1.3.2.jar
onetomany\WebRoot\WEB-INF\lib\connector.jar
onetomany\WebRoot\WEB-INF\lib\dom4j-1.6.jar
onetomany\WebRoot\WEB-INF\lib\ehcache-1.1.jar
onetomany\WebRoot\WEB-INF\lib\hibernate3.jar
onetomany\WebRoot\WEB-INF\lib\jaas.jar
onetomany\WebRoot\WEB-INF\lib\jacc-1_0-fr.jar
onetomany\WebRoot\WEB-INF\lib\jaxen-1.1-beta-4.jar
onetomany\WebRoot\WEB-INF\lib\jboss-cache.jar
onetomany\WebRoot\WEB-INF\lib\jboss-common.jar
onetomany\WebRoot\WEB-INF\lib\jboss-jmx.jar
onetomany\WebRoot\WEB-INF\lib\jboss-system.jar
onetomany\WebRoot\WEB-INF\lib\jdbc2_0-stdext.jar
onetomany\WebRoot\WEB-INF\lib\jgroups-2.2.7.jar
onetomany\WebRoot\WEB-INF\lib\jta.jar
onetomany\WebRoot\WEB-INF\lib\log4j-1.2.9.jar
onetomany\WebRoot\WEB-INF\lib\mysql-connector-java-3.1.14-bin.jar
onetomany\WebRoot\WEB-INF\lib\oscache-2.1.jar
onetomany\WebRoot\WEB-INF\lib\proxool-0.8.3.jar
onetomany\WebRoot\WEB-INF\lib\swarmcache-1.0rc2.jar
onetomany\WebRoot\WEB-INF\lib\xerces-2.6.2.jar
onetomany\WebRoot\WEB-INF\lib\xml-apis.jar
onetomany\WebRoot\WEB-INF\web.xml
onetomany\WebRoot\WEB-INF\classes\org\eimhe
onetomany\WebRoot\WEB-INF\classes\org
onetomany\src\org\eimhe
onetomany\WebRoot\WEB-INF\classes
onetomany\WebRoot\WEB-INF\lib
onetomany\src\org
onetomany\WebRoot\META-INF
onetomany\WebRoot\WEB-INF
onetomany\.myeclipse
onetomany\src
onetomany\WebRoot
onetomany