On 2011-03-07, at 3:18 PM, vaibhav srivastava wrote: > Hi All, > > We are trying to build a relationship between two tables(Associate table and > contactDetails table) .We are using AssociateId as a foreign key in > contactDetails table having > > one to many relationship. After building the relationship our application is > not working at all and we are receiving an exception which says > "java.lang.ClassCastException: > > com.webobjects.eocontrol._EOCheapCopyMutableArray cannot be cast to > your.app.eo.ContactDetails" > > Can anybody help me.
You've not provided any code. But my guess would be that you area trying to cast the array returned by the contactDetails relationship to a ContactDetails object. So either your code is incorrect, or you've modeled something that doesn't actually map to what you want. ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
