add hibernate jpa support.