ORACLE Adf:eo primary key unique, candidate key unique

Source: Internet
Author: User

When developing an ADF application, the system default primary key is unique, but the system-supplied error message is too ugly, so we can customize the error that the primary key is not unique.

In addition to the primary key is unique, sometimes we need to make a unique combination of other fields, such as a certain time, place, the combination of characters to become the only data, we have to pass the candidate key to constrain EO.

Next is the diagram:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7D/69/wKioL1bn1wCh895WAAFClz-rTcM162.png "style=" float: none; "title=" 1.png "alt=" Wkiol1bn1wch895waafclz-rtcm162.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/6B/wKiom1bn1nSgoMl6AABP-XssOys867.png "style=" float: none; "title=" 2.png "alt=" Wkiom1bn1nsgoml6aabp-xssoys867.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/6B/wKiom1bn1nWjc5xAAABz4lNl078450.png "style=" float: none; "title=" 3.png "alt=" Wkiom1bn1nwjc5xaaabz4lnl078450.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/69/wKioL1bn1wGDmvnlAACebanslls093.png "style=" float: none; "title=" 4.png "alt=" Wkiol1bn1wgdmvnlaacebanslls093.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/69/wKioL1bn1wGQ1MKiAACje54SO5g956.png "style=" float: none; "title=" 5.png "alt=" Wkiol1bn1wgq1mkiaacje54so5g956.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7D/6B/wKiom1bn1nWj9e4HAABU8LD4734756.png "style=" float: none; "title=" 6.png "alt=" Wkiom1bn1nwj9e4haabu8ld4734756.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7D/69/wKioL1bn1wGRgoL7AABwqrrintE411.png "style=" float: none; "title=" 7.png "alt=" Wkiol1bn1wgrgol7aabwqrrinte411.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7D/6B/wKiom1bn1naSn_-rAAAzg1R8Rnk760.png "style=" float: none; "title=" 8.png "alt=" Wkiom1bn1nasn_-raaazg1r8rnk760.png "/>


Finish.

This article is from the "ADF from getting Started to mastering" blog, so be sure to keep this source http://feitai.blog.51cto.com/9103016/1751409

ORACLE Adf:eo primary key unique, candidate key unique

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.