Hibernate integration for the Idega platform