fixed db stuff

hibernateutil.shutdown