Creating Hibernate Session Object using hibernate.cfg.xml file, MySql
Creating Hibernate Session Object using hibernate.cfg.xml file, MySql is easy. First we need to create SessionFactory and then we can get Session Object from it. This is a step by step guide to create org.hibernate.SessionFactory object in Hibernate 3.0 and get org.hibernate.Session object from it. To do this example we need properly installed MySql database in windows, hibernate.cfg.xml file and one… (5 comments)