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 populate History Columns in Entity Object when creating a new Row

aJohnyMar 4 2015 — edited Mar 5 2015

Hi

I am using Jdeveloper 12.1.3 to develop an ADF Application.

My database table which has 4 audit columns.

CREATED_BY

LAST_UPDATED_BY

I have added 2 new  history types available under Tools-->Preferences-->ADF Business Components -->History Types.

11. created by userid

12. modified by userid

Where are these values getting saved ? which file will have these details of the newly added history columns.

Note:- I am trying to follow the blog by Jobinesh http://www.jobinesh.com/2011/02/creating-custom-history-types.html

Also, in the CustomEntityImpl getHistoryContextForAttribute(AttributeDefImpl attr) method, how will I refer the newly created history type columns ?

Also, how can I distinguish whether this event is create or update ?

Cheers

AJ

This post has been answered by Markus Klenke on Mar 5 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2015
Added on Mar 4 2015
4 comments
569 views