Dual.class??难道你写了这个类??
用这个方法试试?
Query createNativeQuery(String sqlString)