added hibernate 4 config