Mybatis-mapper.xml重复ID导致的问题

2016-11-9 diaba ibatis

调试半天的问题,终于在请教同事后解决了 错误日志如下: 2016-11-09 14:52:34 |-WARN org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderInsurerTaskMa...

阅读全文>>

标签: springmvc

评论(0) 浏览(2837)

MyBatis-Improper inline parameter map format. Should be: #{propName,attr1=val1,attr2=val2}

2015-12-4 diaba ibatis

使用mybatis框架实现数据持久化时,出现Improper inline parameter map format.  Should be: #{propName,attr1=val1,attr2=val2}错误, 数据库表主键ID类型为int,Auto increment类型,对应的sqlMap中设置为: <insert id="insert" > <![CDATA[ INSERT INTO TableName ( ID , ...

阅读全文>>

标签: mybatis Improper inline

评论(1) 浏览(11312)

Powered by emlog 京ICP备15045175号-1 Copyright © 2022