clear the cache of vo

Hello

I use jdev 11.1.1.6 version

I open a popup when clicking on a link where programmatically to the first line of the method will execute I #{bindings.createinsert.execute}

now in the context menu if the user clicks Cancel popup closes... now, once again, the user clicks on the link popup opens... like that if he does this 3 times... This createinsert is getting executed 3 times and 3 null rows are committed to db during the click on save.

When you click on the link I want to erase these empty lines in the t and then perform this insert to create.

I tried

viewObject.reset ();

viewObject.clearCache ();

viewObject.cancelQuery ();

viewObject.executeemptyrowset ();

viewObject.executequery ();

but nothing of the above seems to work... someone can tell me how exactly to reset or erase these blank lines before running createinsert.

Thank you

Vinay

Once a row is inserted in all of lines (you fact by calling createInsert) you must either remove the line or call the rollback on the transaction.

Timo

Tags: Java

Similar Questions

Maybe you are looking for

  • renovated in 4 or 5 times now not ativate xp

    I had several problems lately with my pc because both couple and hardwareissues move... reformatted 4 or 5 times once after each shot and once after the replacement cable nd once after replacing battery now this time microsoft will not error code giv

  • Dell XPS 13 flickering screen

    Hi, I've had my laptop for a few days now and I've noticed a few problems with the screen. It still flashes so slightly at random. Sounds like the screen slightly wearing off random times and is quite noticeable. It happens more when the captain is n

  • Certificate of authenticity (COA)

    Recently completed and automatic Windows Update on my computer.  Apparently there was a mistake in the system and the corrupt my computer upgrade.  Technology has to reinstall the operating system, but it cannot read the certificate of authenticity (

  • Windows 7 Home premium install updates

    After Windows 10 killed all my USB ports I reinstalled my Windows 7 Home premium on a new motherboard (ASUS Z97 - PRO) and a new Solid State Drive (500 GB). The majority of the installation went well. Some updates important loading and installed fine

  • Problems installing windows 7 32 or 64 XP 32

    Hello I decided it was time to upgrade to windows 7 xp 32. I'm on an IBM Thinkcentre. I did a lot of research but cannot circumvent this problem. When I insert the cd when the computer runs I get an error message saying that: "This installation disc