do all config for work with Hibernate