Hi hibernators,
I am about to create a servlet that uses Hibernate via the helper class "HibernateUtil" and I am confused about exactly how I am supposed to initialize the HibernateUtil class so it creates the session factory and then how to make use of it. I have searched quite a bit for an example and I always come up with nothing. I am referring to the HibernateUtil class as defined here:
http://www.hibernate.org/hib_docs/refer ... start.html
If someone could post a link to a good example of how to make use of this (full code, not just what's in between opensession and closesession) I would be very appreciative! Thanks!
-Eric