Repeated column in mapping for entity:should be mapped with insert="false" update="false"
2013-06-11 15:27
501 查看
<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")
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- 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
- 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
- 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" 错误原因
- 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"的解决方法
- 出现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"错误