enable hibernate functions