我必须在休眠的条件查询中创建这种类型的查询
SELECT *
FROM
${hibernate.default_schema}.VW_GEMS_CUST_TRNG_RPT CUSTOMER,
(SELECT * FROM ${hibernate.default_schema}.VW_GEMS_VENUE WHERE ORG_NAME =?)
VENUE
WHERE
CUSTOMER.PRIMARY_VENUE_ROW_ID = VENUE.VENUE_ROW_ID(+)
AND CUSTOMER.ORG_NAME =?
AND CUSTOMER.CONTACT_ID =?
ORDER BY CUSTOMER.EVNT_START_DT DESC
我该怎么做呢?