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 update a column in a table of a database programatically using adf 12.1.3

2923360Jul 15 2015 — edited Jul 20 2015

Hi  ,

My requirement is to update a column in a table of a database programmatically  using adf 12.1.3.I  have a  bounded task  flow  which contains a fragment.The fragment has following components

1-Adf table(af:table)  which has 6  column .One column is "Note"

2-Note Text field (autosubmit true)

3-button.

-The database table  is Alert_Notes which has following columns

-Noteid-Primary key

AlertId,

Alert code

Suprevisor,

Note(varchar)

Note description.

Scenario-

On page load the adf table  will be populated by fetching data from alert_Note  table. I  am able to do  this  and adf table  is  getting displayed in the fragments.

When user enter some text  in the Note  text field   and click on the button , the enetered text must  be updated in the alert notes table 's  " Note "column in database   and the Note column in the adf table which  is  in the screen must  be refreshed.  So  i  have to update  the table programatically on click of button.  I have created   bean  and action method  on thisI am able  to get  the entered text  in the bean  but do  not  what  to write  in bean for data  updation in the database table .Please help

---

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2015
Added on Jul 15 2015
6 comments
966 views