private void setResultTransformer(SQLQuery query, Class<?> resultClass); private void setResultTransformer(Query query, Class<?> resultClass); If the incoming query is of type SQLQueryImpl, it will enter the following method, why?
Collection types such as arrays cannot be cast?