您的位置:首页 > 编程语言 > Java开发

Spring引用外部文件生成主键配置

2012-12-14 15:31 218 查看
一、*.hbm.xml配置

<hibernate-mapping>

<class name="com.trendcom.org.model.OrgUserR" table="ORG_USER_R">

<id name="orgUserId" type="java.lang.Long">

<column name="ORG_USER_ID" precision="22" scale="0" />

<generator class="assigned" />

</id>

......

二、
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: