Hibernate moved to Domain