}
Sort[] sorts = getSorts(args);
RowMapper<?> rowMapper = getRowMapper(args);
if(rowMapper == null && (!nativeQuery.model().equals(DEFAULT.class))){
ColumnTranslator t = null;
try {
if(!DummyColumnTranslator.class.equals(nativeQuery.translator())){
t = nativeQuery.translator().newInstance();
t.setModelClass(nativeQuery.model());
}
} catch (Exception e) {
//do nothing
}
rowMapper = new CommonBeanRowMapper(nativeQuery.model(), t, nativeQuery.alias());