before Hibernate