using hibernate 4.1.7 instead of 3.x.x, and remove many defaulted configurations