add transaction and hibernate configuration