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); } }