您的位置:首页 > 移动开发

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐