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 composite 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 > Mobile Business Object 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 concepts
AutoCommit Option for JDBC MBOs Using an ASE Data Source
Passing an Empty String or Byte into a Required Binary Column in ASE
Related tasks
Binding an MBO to a Database Fails
Multilevel Insert Operation Fails
Attribute Length Set Incorrectly for Operation and Load Arguments
Unable to properly update the CDB because the partition was improperly assigned
Related reference
MBO Retrieves Incorrect Data
Warning Message When Creating Relationships
Troubleshooting Default Values for Adaptive ServerĀ® Anywhere uniqueidentifiers
Preview Errors for a Web Service Mobile Business Object with date/time Types
Web Service Mobile Business Object Must Be Connected to Connection Profile
Refresh Fails Due to Missing Load Argument Default Values
Input Parameters Fail to Generate for Complex Data Sources
Output Mapping Warning Message for Multilevel Insert Operations
Syntax Errors When Creating a Database Mobile Business Object
Sybase MBOs That Invalidate the Cache