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!

how to know if a row is being created or modified?

754530Mar 24 2010 — edited Mar 25 2010
Hi community,

today I have the issue of trying to distinguish programatically and before commit if an existing row is being modified or a new one is being created. In my use case I have a single .jspx which mantains a form that deals with both creation and edition. This page has a commandButton component that is bound to a managed bean method that prodeed with the commit.
This requirement comes up because I need to call a PL/SQL in one case and a different one in the other one. Does oracle.jbo.ViewObject have a way to know the status of its cache or is there another way to figure this out?

Thanks so much in advance for the time and dedication.
Regards,

Alberto
This post has been answered by Shay Shmeltzer-Oracle on Mar 24 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2010
Added on Mar 24 2010
2 comments
903 views