oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity: detail entity Emp, row key oracle.jbo.Key[-5 ]. at oracle.jbo.server.EntityImpl.internalCreate(EntityImpl.java:1048) at oracle.jbo.server.EntityImpl.create(EntityImpl.java:811)
if you the above exception whn u create master /detail table then do the following
- “Cascade Update Key Attributes” in association should be checked
- In viewRowImpl add
@Override
public void setNewRowState(byte state) {
if (state != Row.STATUS_INITIALIZED || getNewRowState() != Row.STATUS_NEW) {
super.setNewRowState(state);
}
}
Thank you,
I had the same issue, and this solved my problem (but it works only in model tester).
and when I try to do the same in a page,I get exception!
please Advise
Hi
Should the code be added to the master’s or detail’s viewrowimpl?
it seems you dont even need the cascade update key attributes