Friday, September 30, 2011

Fixing: oracle.jbo.RowInconsistentException: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key

To fix this issue, we need to make sure that:

  • Change indicator and history columns are mapped correctly. Change indicator column can be a version number column or last update date column.
  • All those columns that are getting updated by a database trigger or a PL/SQL call, are enabled for 'Refersh On Insert' (for insert case ) or 'Refresh On Update' (for update case) or both.
Remember that LastUpdateDate column can also work and Change Indicator.


References:
https://forums.oracle.com/forums/thread.jspa?threadID=214411
http://radio-weblogs.com/0118231/stories/2004/03/24/whyDoIGetOraclejborowinconsistentexception.html

1 comment:

  1. Just click Change Indicator check box in EO,
    Go to Attribute section in EO...post selection of PK attributes scroll down and there you can see the check box :Change Indicator just checked that.

    ReplyDelete