merge hibernate and jpa