should be mapped with insert="false" update="false"
2012-02-19 12:56
295 查看
我 找了好久原来是个低级错误,在copy的时候不小心的缘故
<hibernate-mapping package="com.strive.entity">
<class name="Dept" table="Dept">
<id name="deptno" column="deptno" type="integer">
<generator class="assigned"></generator>
</id>
<property name="dname" column="deptno" type="string"></property>
<property name="loc" column="loc" type="string"></property>
</class>
</hibernate-mapping>
<hibernate-mapping package="com.strive.entity">
<class name="Dept" table="Dept">
<id name="deptno" column="deptno" type="integer">
<generator class="assigned"></generator>
</id>
<property name="dname" column="deptno" type="string"></property>
<property name="loc" column="loc" type="string"></property>
</class>
</hibernate-mapping>
相关文章推荐
- Repeated column in mapping for entity:(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"
- Repeated column in mapping for entity:should be mapped with insert="false" update="false"
- should be mapped with insert="false" update="false
- Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
- column: xxxxxx_ID (should be mapped with insert="false" update="false")
- should be mapped with insert="false" update="false"
- hibernate column should be mapped with insert="false" update="false" 错误原因
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- 出现should be mapped with insert="false" update="false"的解决方法
- 出现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"
- 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"