hibernate configuration fixed.