integrating hibernate.cfg to beans.xml