Is "userDefinitionScreenID" a field defined in your mapping? ie. this has to be the name attribute of a field-descriptor definition. Something like:
<field-descriptor
name="userDefinitionScreenID"
column="_idA"
jdbc-type="INTEGER"
access="anonymous"/>
Maybe if you post the relevant sections of your repository_user.xml file it could help identify the problem.
-Raymond Barlow
Alexander Prozor wrote:
Hello All, I've tried to use such scheme as described at : http://cvs.apache.org/viewcvs/db-ojb/xdocs/howto-use-anonymous-keys.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup
but I got such exception :(. In few words my prog contains 3 classes class A contains collection B collection C
B contains collection B
C contains String Name
I put all these classes into a separate tables. tableA _id tableB _id - I use this field as foreign key for collection from class B, is it correct? Maybe I have to add additional field to the table B for having another key? _idA foreign key for collection from class A tableC _id _idA foreign key for collection from class A all this fields I've described as anonymous.
in this exception userDefinitionScreenID - _idA CompositeControlDefinition - class B
thank you .
org.apache.ojb.broker.OJBRuntimeException: Incorrect field reference "userDefinitionScreenID" in [EMAIL PROTECTED] delete=false,cascade retrieve=true,cascade <snip>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
