refined jpa for mongo model