Many-to-many relationship code example?
Many-to-many relationship code example?
- Subject: Many-to-many relationship code example?
- From: David Schneider-Joseph <email@hidden>
- Date: Thu, 28 Jul 2005 18:19:17 -0400
Is there a working example of a many-to-many relationship implemented
in an EOModel? When I try to generate the SQL for one in EOModeler,
and "Primary Key Constraints" is checked, I get the following error:
An unexpected error has occurred which may cause EOModeler to
malfunction. You may want to save copies of your open documents
and quit EOModeler.
Error: NSInvalidArgumentException: *** -[NSCFDictionary
setObject:forKey:]: attempt to insert nil value
Stack Trace:
NSInvalidArgumentException: *** -[NSCFDictionary
setObject:forKey:]: attempt to insert nil value
at
com.apple.cocoa.foundation.NSMutableDictionary.setObjectForKey
(Native Method)
at OpenBasePlugIn
$OpenBaseSynchronizationFactory.primaryKeyConstraintStatementsForEntit
yGroup(OpenBasePlugIn.java:237)
at
EOSynchronizationFactory.primaryKeyConstraintStatementsForEntityGroups
(EOSynchronizationFactory.java:529)
at EOSynchronizationFactory.schemaCreationStatementsForEntities
(EOSynchronizationFactory.java:862)
at EOSynchronizationFactory.schemaCreationScriptForEntities
(EOSynchronizationFactory.java:663)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden