Repeated column in mapping for entity:should be mapped with insert="false" update="false"
2012-07-25 10:12
519 查看
<property name="vote_rid"/>
<property name="vote_point"/>
<property name="vote_postdate"/>
<property name="vote_enddate"/>
<property name="vote_uid"/>
<property name="vote_isend"/>
<many-to-one name="user" column="vote_uid"/>
可以看到vote_uid出现了两次,把最上面的那个去掉即可,因为两个属性不能对应一行。哈哈,受益咯
<property name="vote_point"/>
<property name="vote_postdate"/>
<property name="vote_enddate"/>
<property name="vote_uid"/>
<property name="vote_isend"/>
<many-to-one name="user" column="vote_uid"/>
可以看到vote_uid出现了两次,把最上面的那个去掉即可,因为两个属性不能对应一行。哈哈,受益咯
相关文章推荐
- Repeated column in mapping for entity: .... should be mapped with insert="false" update="false"
- Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
- Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
- Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
- Repeated column in mapping for entity:should be mapped with insert="false" update="false"
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- Repeated column in mapping for entity: XXpojo column: xx (should be mapped with insert="false" upda
- column: xxxxxx_ID (should be mapped with insert="false" update="false")
- hibernate column should be mapped with insert="false" update="false" 错误原因
- hibernate一多一关联配置出错org.hibernate.MappingException:should be mapped with insert="false"update="false
- should be mapped with insert="false" update="false" 解决办法
- should be mapped with insert="false" update="false"
- hibernate映射文件出现should be mapped with insert="false" update="false"
- should be mapped with insert="false" update="false"的解决方法 和对象产生默认值的解决方法
- Hibernate_should be mapped with insert="false" update="false"的解决方法
- 出现should be mapped with insert="false" update="false"的解决方法
- should be mapped with insert="false" update="false"
- hibernate 出现should be mapped with insert="false" update="false"