I am using querydsl for my queries in oracle, so far is good until i found some native sql query as follow, am i able to do that in querydsl?
There are two problem for me
#1, how can i convert "select 1 from dual" in querydsl
#2, how can i take the oracle hint "/*+ INDEX(abs UKACCTBILLSETTINGS_ACCTID) */"?
Thanks
SELECT 1
FROM dual
WHERE EXISTS (
SELECT /*+ INDEX(abs UKACCTBILLSETTINGS_ACCTID) */ 1 FROM acctbillsettings abs
WHERE abs.retailBilling IN (:nonNoneRetailInvoiceTypes)
AND abs.acctid IN (SELECT acctid FROM accts WHERE operatorid = :operatorId and LOWER(accttype) IN (:nonSubscriberAcctTypes))
)