improved "Hibernate" utilities
improved code