Working example with hibernate and aries jpa