(QueryDSL) 프로젝션과 결과반환

QItem item = QItem.item;

List<Tuple> result = query.from(item).list(item.name, item.price);
//List<Tuple> result = query.from(item).list(new QTuple(item.name, item.price));
같다.



댓글

이 블로그의 인기 게시물

(Garbage Collection) Old Area의 Concurrent Mark-sweep 알고리즘

(데이터베이스) HAVING절과 WHERE 절의 차이

(Pytorch) DataLoder 클래스