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!

Too many objects match the primary key oracle.jbo.Key[2]. Error

Sameer.DarbhaSep 30 2010 — edited Oct 4 2010
Hi

I have to display a Read Only table and an Editable Form below it so that the user can select a row in the table and that row should be populated in the form below.
The user should be able to update the row and save in the below form.
Then the table above also should be refreshed with the updated values.

For this I have created a VO based on EO.

Using the same data control I have created a UI Readonly table and an Editable form in the same JSF page.

When I run the page, the first row is populated in both the table and form.
When I select the second row in the table, I am getting the following error in the Editable Form

Error: Too many objects match the primary key oracle.jbo.Key[2 ].

My EO has only one Primary key and I have not included the ROWID column in EO or VO.

How can we fix this issue ?

However, if I move the editable form to another page, It is working fine.
But we need to have both the table and editable form in the same page for usability purposes.

Thanks for any help.
Sameer
This post has been answered by Suganth on Oct 3 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2010
Added on Sep 30 2010
13 comments
1,827 views