Base hibernate configuration