Description: hibernate entity mapping. physical design (the two plans), the code is very simple, suitable for novices to learn.
To Search:
File list (Check if you may need any files):
hibernate实体映射.实体设计(两种方案)
....................................\projectHibernate
....................................\................\.classpath
....................................\................\.myhibernatedata
....................................\................\.mymetadata
....................................\................\.project
....................................\................\src
....................................\................\...\hibernate.cfg.xml
....................................\................\...\org
....................................\................\...\...\hibernate
....................................\................\...\...\.........\Conact.java
....................................\................\...\...\.........\demo01
....................................\................\...\...\.........\......\BookChild1.java
....................................\................\...\...\.........\......\BookChild2.java
....................................\................\...\...\.........\......\BookMain.hbm.xml
....................................\................\...\...\.........\......\BookMain.java
....................................\................\...\...\.........\......\SessionFactoryTest.java
....................................\................\...\...\.........\......\TestDemo01.java
....................................\................\...\...\.........\demo02
....................................\................\...\...\.........\......\BookChild1.java
....................................\................\...\...\.........\......\BookChild2.java
....................................\................\...\...\.........\......\BookMain2.hbm.xml
....................................\................\...\...\.........\......\BookMain2.java
....................................\................\...\...\.........\......\SessionFactoryTest.java
....................................\................\...\...\.........\......\TestDemo02.java
....................................\................\...\...\.........\demo03
....................................\................\...\...\.........\......\BookChild1.java
....................................\................\...\...\.........\......\BookChild2.java
....................................\................\...\...\.........\......\BookMain2.hbm.xml
....................................\................\...\...\.........\......\BookMain2.java
....................................\................\...\...\.........\......\SessionFactoryTest.java
....................................\................\...\...\.........\......\TestDemo03.java
....................................\................\...\...\.........\demo04
....................................\................\...\...\.........\......\BookChild1.java
....................................\................\...\...\.........\......\BookChild2.java
....................................\................\...\...\.........\......\BookMain2.hbm.xml
....................................\................\...\...\.........\......\BookMain2.java
....................................\................\...\...\.........\......\SessionFactoryTest.java
....................................\................\...\...\.........\......\TestDemo04.java
....................................\................\...\...\.........\factory
....................................\................\...\...\.........\.......\SessionFactoryOperte.java
....................................\................\...\...\.........\.......\test
....................................\................\...\...\.........\.......\....\HibernateTest.java
....................................\................\...\...\.........\mtm
....................................\................\...\...\.........\...\Stu.hbm.xml
....................................\................\...\...\.........\...\Stu.java
....................................\................\...\...\.........\...\Tea.hbm.xml
....................................\.........