Activiti在和mybatis出现的有关问题
Activiti在和mybatis出现的问题
bug1
Activiti在和mybatis整合时候出现
order by order by错误的例子,我用的是mybatis-3.3.0就会出现这个问题换成官网支持的mybatis-3.2.5就OK了
bug1
Activiti在和mybatis整合时候出现
Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by RES.ID_ asc LIMIT 2147483647 OFFSET 0' at line 7 ### The error may exist in org/activiti/db/mapping/entity/ProcessDefinition.xml ### The error may involve org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.selectProcessDefinitionsByQueryCriteria_mysql-Inline ### The error occurred while setting parameters ### SQL: select distinct RES.* from ACT_RE_PROCDEF RES order by order by RES.ID_ asc LIMIT ? OFFSET ? ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by RES.ID_ asc LIMIT 2147483647 OFFSET 0' at line 7] with root cause
order by order by错误的例子,我用的是mybatis-3.3.0就会出现这个问题换成官网支持的mybatis-3.2.5就OK了