Metrics
0
Watch 2.7K Star 5.6K Fork 2.8K

ThinkGem / JeeSite 4.xJavaAGPL-3.0

mysql 不能引用一般实体类作为parameter 在使用 ${sqlMap.column.toSql()} 时

Open
random  Created at

该问题是怎么引起的?

如题

重现步骤

创建一个VO 继承Object
将vo 以mybatis 接口 的参数形式传入
使用select ${sqlMap.column.toSql()}

报错信息

Caused by: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named '********' in 'class com.jeesite.modules.fsp.query.*************'

total 1 participants

Comments (0)

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search

Gitee_you_jiang_zheng_wen Zheng_wen_close