Relationship Error

Problem: A mobile business object (MBO) with multiple relationships to a single child MBO reports an error.

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.

A child mobile business object (MBO) with multiple relationships, supports only one cascade relationship.

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
No Data or Images Appear on the Device
Binding an MBO to a Database Fails
Structure MBOs Not Automatically Generated After Rebinding
Multilevel Insert Operation Fails
Related reference
Troubleshooting MBOs
Troubleshooting Improperly Designed Mobile Business Objects
Database MBO Fails on Execution
Web Service MBO Sync Exceptions After an Interface Change
Search Errors and the RTRIM Function
Update Operation Fails
SQL Statement Yields Unexpected Results
Warning Message When Creating Relationships
Synchronization Fails if Binary Attributes Have Unspecified Length