Hi Alexander,

I think the problem here is your definition of the UserScreenDefinition class in the mapping file. Basically, you have:

<reference-descriptor
name="rootControlDef"
class-ref="efi.base.presentation.formdefinition.CompositeControlDefinition"
>
<foreignkey field-ref="userDefinitionScreenID"/>
</reference-descriptor>


defined in the mapping, but no corresponding "userDefinitionScreenID" field also defined in that same class. Methinks you should move that reference-descriptor out of the definition for UserScreenDefinition, and put it into both the DataDefinitionRef and CompositeControlDefinition class descriptors.

See, the field-ref attribute in foreignkey element refers to another field-descriptor in the same class-descriptor.

Hope this helps,
Cheers,
Raymond Barlow

Alexander Prozor wrote:

Hello Raymond,
child classes store in DB successfully.
problem exists only when I try to persist main class.





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to