MyBatis the Mapper configuration of the Select query statement, reported Java.lang.UnsupportedOperationException
The contents are as follows:
Org.mybatis.spring.MyBatisSystemException:nested exception is org.apache.ibatis.exceptions.PersistenceException:
# # # Error querying database. Cause:java.lang.UnsupportedOperationException
# # # The error may exist in file [D:\java\tomcat\apache-tomcat-7.0.68\webapps\ROOT\WEB-INF\classes\mapper\business\ Tproproductmapper.xml]
# # # The error may involve com.lincomb.manager.business.mapper.TProProductMapper.exprotceneProduct
# # # The error occurred while handling results
# # # Sql:select "omit some SQL" DESC
# # Cause:java.lang.UnsupportedOperationException
This is due to the Mapper.xml select configuration
It would be nice to change the Resulttype to the object of the list collection.
MyBatis java.lang.UnsupportedOperationException