Hibernate framework integration