Added basic Hibernate support