问题描述: 今天在使用HQL的按照参数的名字查询数据库信息的时候报错如下: org.hibernate.QueryException: Space is not allowed after parameter prefix ':' [from Users user where user.address=: userAddress] at org.hibernate.engine.query.spi.ParameterParser.parse(ParameterParser.java:95) at
修改前代码: select MAX (article_order) from mall_school_article where 1=1 and is_deleted = 0 and status = 1 and article_type = #{articleType,jdbcType=TINYINT} and section = #{section,jdbcType=TINYINT} 报错:FUNCTION dev_operation.MAX does not exist 原因:mysql在