posted 13 years ago
Hi,
I am new to Hibernate and i want Exactly happing in the fallowing code please explain step by step,
// This step will read hibernate.cfg.xml and prepare hibernate for use
SessionFactory sessionFactory = new
Configuration().configure().buildSessionFactory();
session =sessionFactory.openSession();
I do know what is a config file .
just wan a know why these specific steps for reading config file.
Thanks
Sravan V