Description: Achieved using hibernate many to many relationship, database table and the table is a stu course table
To Search:
File list (Check if you may need any files):
manytomany\.classpath
..........\.myhibernatedata
..........\.mymetadata
..........\.project
..........\.settings\org.eclipse.jdt.core.prefs
..........\src\com\manytomany\dao\CourseDao.java
..........\...\...\..........\...\hibernate.cfg.xml
..........\...\...\..........\...\HibernateSessionFactory.java
..........\...\...\..........\...\impl\CourseDaoImpl.java
..........\...\...\..........\...\....\StuDaoImpl.java
..........\...\...\..........\...\StuDao.java
..........\...\...\..........\entity\Course.hbm.xml
..........\...\...\..........\......\Course.java
..........\...\...\..........\......\Stu.hbm.xml
..........\...\...\..........\......\Stu.java
..........\WebRoot\index.jsp
..........\.......\META-INF\MANIFEST.MF
..........\.......\WEB-INF\classes\com\manytomany\dao\CourseDao.class
..........\.......\.......\.......\...\..........\...\hibernate.cfg.xml
..........\.......\.......\.......\...\..........\...\HibernateSessionFactory.class
..........\.......\.......\.......\...\..........\...\impl\CourseDaoImpl.class
..........\.......\.......\.......\...\..........\...\....\StuDaoImpl.class
..........\.......\.......\.......\...\..........\...\StuDao.class
..........\.......\.......\.......\...\..........\entity\Course.class
..........\.......\.......\.......\...\..........\......\Course.hbm.xml
..........\.......\.......\.......\...\..........\......\Stu.class
..........\.......\.......\.......\...\..........\......\Stu.hbm.xml
..........\.......\.......\lib\antlr-2.7.6.jar
..........\.......\.......\...\cglib-2.2.jar
..........\.......\.......\...\commons-collections-3.1.jar
..........\.......\.......\...\dom4j-1.6.1.jar
..........\.......\.......\...\ehcache-1.2.3.jar
..........\.......\.......\...\ejb3-persistence.jar
..........\.......\.......\...\hibernate-annotations.jar
..........\.......\.......\...\hibernate-commons-annotations.jar
..........\.......\.......\...\hibernate-entitymanager.jar
..........\.......\.......\...\hibernate-validator.jar
..........\.......\.......\...\hibernate3.jar
..........\.......\.......\...\javassist-3.9.0.GA.jar
..........\.......\.......\...\jta-1.1.jar
..........\.......\.......\...\log4j-1.2.14.jar
..........\.......\.......\...\ojdbc14.jar
..........\.......\.......\...\slf4j-api-1.5.8.jar
..........\.......\.......\...\slf4j-log4j12-1.5.8.jar
..........\.......\.......\web.xml
..........\.......\.......\classes\com\manytomany\dao\impl
..........\.......\.......\.......\...\..........\dao
..........\.......\.......\.......\...\..........\entity
..........\src\com\manytomany\dao\impl
..........\WebRoot\WEB-INF\classes\com\manytomany
..........\src\com\manytomany\dao
..........\...\...\..........\entity
..........\WebRoot\WEB-INF\classes\com
..........\src\com\manytomany
..........\WebRoot\WEB-INF\classes
..........\.......\.......\lib
..........\src\com
..........\WebRoot\META-INF
..........\.......\WEB-INF
..........\.myeclipse
..........\.settings
..........\src
..........\WebRoot
manytomany