open/closed applied to hibernateconfig
cleanup