This content has been marked as final. Show 5 replies
Unfortunately, just using createRow() produces the same error.
I set the underlying Entity Association to be a Composite Association, but that produces the error below, both for createAndInitRow() and createRow().
Any further suggestions much appreciated!
oracle.jbo.InvalidOwnerException: JBO-25030: Detail entity UserPreferenceEO with row key oracle.jbo.Key[-21 ] cannot find or invalidate its owning entity.
A simple mistake on my part.
Whilst I had a View Accessor for Detail in Master, I did not have Detail underneath Master VO in the AM.
A couple of questions, if anybody can answer.
Why can one not use the View Accessor to create a detail record?
Why must one use create() and the insertRow() to insert the master, and not createAndInitRow()? What are the differences?