Adding hibernate persistence.