hibernate small changes