//this query can be used to get list of PaymentAttribute for whicch payment details is NOT NULL
@Query("select p.paymentDetailName from paymentattribute p where p.entityId=?1 AND p.entityType=?2 and p.paymentDetailName is not null")
List<String> getNonNullPaymenyDetaisName(String entityId,String entityType);
私の paymentattribute テーブルには、entityId、entityType、paymentDetailsName などの列が含まれています。上記のクエリに従って paymentdetail 列だけを取得したいと考えています。エラーが発生しています。Spring-mvc Web アプリケーションには、完全なタプルではなく列だけをフェッチできる方法がありますか。上記のコードはリポジトリの一部です。