This has been posted before but my issue is a little different. This is the JPQL query in question:
@Query(\"SELECT NEW com.htd.domain.ShopOrder(po.id, po.po_num