Hibernate getCurrentSessionFactory() undefined

Version imprimable