/**
* @author hennebrueder This class garanties that only one single SessionFactory
* is instanciated and that the configuration is done thread safe as
* singleton. Actually it only wraps the Hibernate SessionFactory. When
* a JNDI name is configured the session is bound to to JNDI, else it is
* only saved locally. You are free to use any kind of JTA or Thread
* transactionFactories.
*/
public class InitSessionFactory {

### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
#log4j.logger.org.hibernate.connection.DriverManag erConnectionProvider=trace