Relationship Error

Problem: Error occurrs when trying to link multiple mobile business objects (MBOs) to a single child MBO.

You see an error similar to this in Unwired WorkSpace:

Error: The target mobile business object 'MBO_name' can not be used in relationship 'relationship_name' since it already was used in a one-to-many or one-to-one relationship as a target.

When a child mobile business object (MBO) has multiple parent MBOs, only one cascade relationship is allowed.

Solution: Examine all of the relationships to a single child MBO and unselect Composite for all but one.

Note: Relationship errors can happen for a variety of reasons. For information about relationship validation rules and development guidelines, see:
  • Troubleshooting > Validation Rules > Unwired WorkSpace Validation Rules and Error Messages > Relationship Validation Rules and Error Messages
  • Sybase Unwired WorkSpace - Mobile Business Object Development > Develop > Working with Mobile Business Objects > Mobile Business Object Data Properties > Creating Relationships Between Mobile Business Objects > Relationship Guidelines
Related tasks
Binding an MBO to a Database Fails
Structure MBOs Not Automatically Generated After Rebinding
Multilevel Insert Operation Fails
Related reference
Troubleshooting MBOs
Database MBO Fails on Execution
Warning Message When Creating Relationships
Synchronization Fails if Binary Attributes Have Unspecified Length