ibatis报错:There is no READABLE property named

简介:

配置如下:

 
  1. <select id="getBlackListListTypes" resultClass="java.lang.Integer" parameterClass="java.lang.Integer"> 
  2.         SELECT distinct(list_type)  FROM black_list 
  3.         <dynamic prepend="where"> 
  4.             <isNotEmpty prepend="and" property="appId"> 
  5.                 app_Id = #appId# 
  6.             </isNotEmpty> 
  7.         </dynamic> 
  8.     </select> 

报错:

Caused by: com.ibatis.common.beans.ProbeException: There is no READABLE property named 'appId' in class 'java.lang.Integer'

 



本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/841901,如需转载请自行联系原作者

相关文章
|
9月前
|
Java 数据库连接 mybatis
解决Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: No constructor found
解决Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: No constructor found
398 1
|
6月前
Cannot get property 'versionCode' on extra properties extension as it does not exist
Cannot get property 'versionCode' on extra properties extension as it does not exist
223 0
|
Java Spring 容器
No bean named ‘springSecurityFilterChain‘ is defined
No bean named ‘springSecurityFilterChain‘ is defined
202 0
|
前端开发 Android开发
springMvc15-Referenced file contains errors
springMvc15-Referenced file contains errors
91 0
MapStruct - No property named “XXX“ exists in source parameter(s). Did you mean “null“?
MapStruct - No property named “XXX“ exists in source parameter(s). Did you mean “null“?
1652 0

热门文章

最新文章