connect jpa for wenxin photos