fix hibernate cfg and Hibernate utils

fix hibernate cfg and Hibernate utils