Need better use of HibernateUtil configuration
Brought to you by:
whoover
HibernateUtil is using a singleton for configuration/session factory. This needs to be optimized by utilizing java.util.concurrent.*
Also, Hibernate configuration should be accessible for programmatic configuration rather than MBean or hibernate.cfg.xml