Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IsActive attribute in table, only one row can have True for IsActive, how to?

gcobanMay 20 2014 — edited May 20 2014

I have a database table which has IsActive attribute. Only one row in the table can have True for IsActive at a time. What's the appropriate solution to this problem in ADF?

In the ADF side, I have a button called Activate, when the button is clicked, I can set IsActive to true of selected row but I need to set false to other rows. Should I iterate all of the rows? or is there a better solution?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2014
Added on May 20 2014
3 comments
516 views