Restoring hibernate to  version 4.2.8