add jpa, debug support