add jpa support