add jpa/hibernate support