您的位置:首页 > 数据库 > Oracle

Oracle 数据库唯一性索引在ADF EO中的表现

2012-07-03 23:41 323 查看
在数据库表test 中建unique index, 在用表test生成的EO中没有对应unqiue index的具体规则;

在数据库表test 中建unique key时,数据库会伴随生成对应的unique index, 此时用test表生成EO时,EO中有对应unique key的具体规则,具体如下:

<Key
Name="NetUn">
<DesignTime>
<Attr Name="_isUnique" Value="true"/>
<Attr Name="_DBObjectName" Value="NET_UN"/>
</DesignTime>
<AttrArray Name="Attributes">
<Item Value="com.test.hr.model.entities.TestEO3.Name"/>
<Item Value="com.test.hr.model.entities.TestEO3.Email"/>
<Item Value="com.test.hr.model.entities.TestEO3.Tel"/>
</AttrArray>
</Key>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐