複数列のIN句???
こんなの
SELECT * FROM TEST_TBL
WHERE
(FIRST_NAME, LAST_NAME) IN (
('山田', '太郎'),
('鈴木', '次郎')
)
DOMAで実装
普通にやるとダメなのでfor文で頑張る。
SELECT * FROM TEST_TBL
WHERE
(FIRST_NAME, LAST_NAME) IN (
/*%for condition : conditionList */
(/* condition.firstName */'firstname', /* condition.lastName */'lastname')
/*%if condition_has_next */
,
/*%end */
/*%end */
/*%if conditionList == null || conditionList.isEmpty() */
(NULL, NULL)
/*%end */
)