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!

clear vo cache

user10873676Jan 5 2016 — edited Jan 5 2016

Hi,

I am using jdev 11.1.1.6 version

I am opening a popup on click of a link where programmatically in the first line of the method i am executing #{bindings.createinsert.execute}

now in the popup if the user clicks on cancel popup closes.. now again user clicks on the link popup opens.. like this if he does 3 times.. this createinsert is getting executed 3 times and 3 null rows are getting commited to db on click of save.

On click of the link i want to clear these empty rows in the vo and then perform this create insert.

I have tried

    

        viewObject.reset();

        viewObject.clearCache();

viewObject.cancelQuery();

viewObject.executeemptyrowset();

viewObject.executequery();

but nothing from the above seem to work.. can someone tell me how to exactly reset or clear these empty rows before performing createinsert.

Thanks,

Vinay

This post has been answered by Timo Hahn on Jan 5 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2016
Added on Jan 5 2016
3 comments
837 views