I am using Jdeveloper 11.1.1.7.0.
I am creating a input form. One of the fields is a af:inputListOfValues
I got the following error after selecting a value to insert into the field:
Too many objects match the primary key oracle.jbo.Key[1 ].
oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[1 ].
I override the create function in the EO Impl to set the primary key.
protected void create(AttributeList attributeList) {
this.setKey(1);
}
While debugging the problem, I realised that the create method is called several times before the error is thrown.
Why is this so? What have I done incorrectly?