Fix hibernate cache settings