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!

findRowByKey returning null

User757151-OracleAug 28 2012 — edited Sep 12 2012
I'm trying to use the ViewObject class getRow(key) method, but it keeps returning null. Have scoured the forum and documentation, but cannot find a solution, so am hoping someone can tell me what i am doing wrong.
        ViewObject vo = fixture1.getApplicationModule().findViewObject("MessageDetailsView1");
        Key key = new Key(new Object[]{new Number(90), new Number(1)});
         Row row = vo.getRow(key);
The VO is being successfully updated, the multi-part key values point to a valid record, and yet getRow() returns null. Is there some other step that i am missing, or some nuance. the order of the key values is correct (and for the heck of it i tried the reverse order - new Key(new Object[]{new Number(1), new Number(90)} - to no avail)

am using JDeveloper 11g.

Thanks for your help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2012
Added on Aug 28 2012
3 comments
240 views