My Oracle Support Banner

How To Avoid JBO-25030 When Inserting New Records in a View Object With Multiple Entity Object Usages (Doc ID 561151.1)

Last updated on DECEMBER 26, 2019

Applies to:

Oracle JDeveloper - Version to [Release Oracle10g to 12c]
Information in this document applies to any platform.
*** Checked for relevance on 09-SEP-2013 ***


Suppose a Master-Detail View Object with multiple Entity Object usages, say <Parent> and <Child>, both Updatable.
The Entity Objects are linked with a Composition Association  (with Cascade Delete/Update).
Updating and deleting existing data works fine, but creating new rows fails with the following errors:

oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity: detail entity <Child>, row key null.
    at oracle.jbo.server.EntityImpl.internalCreate(
    at oracle.jbo.server.EntityImpl.create(
    at oracle.jbo.server.EntityImpl.callCreate(
    at oracle.jbo.server.ViewRowStorage.create(
    at oracle.jbo.server.ViewRowImpl.create(
    at oracle.jbo.server.ViewRowImpl.callCreate(
    at oracle.jbo.server.ViewObjectImpl.createInstance(
    at oracle.jbo.server.QueryCollection.createRowWithEntities(
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(
    at oracle.jbo.server.ViewRowSetImpl.createRow(
    at oracle.jbo.server.ViewObjectImpl.createRow(

How to avoid this error ?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.