Hi,我想让createNativeQuery方法的执行结果返回Map,从网上查询到eclipseLink的设置方法为:
Query query = entityManager.createNativeQuery(sql);
query.setHint(QueryHints.RESULT_TYPE, ResultType.Map);
但是,Cuba中会报错:
java.lang.UnsupportedOperationException: Unsupported hint: eclipselink.result-type
请问cuba中有其他方法可以实现吗?