首页 > 其他 > 详细

mybatis 中collection中需要 open close separator

时间:2018-12-04 16:06:42      阅读:516      评论:0      收藏:0      [点我收藏+]

mybatis 中collection中需要 open close separator

<result property="openFactories" column="open_factories" />

The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collect

mybatis 错误

The content of element type "resultMap" must match 

 "(constructor?,id*,result*,association*,collection*,discriminator?)".

造成的原因是<resultMap>标签中

需要按照

<id>

<result>

<association>

<collection>

顺序来排列

 

mybatis 中collection中需要 open close separator

原文:https://www.cnblogs.com/huiandong/p/10064571.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!