Re: Help Needed
Re: Help Needed
- Subject: Re: Help Needed
- From: David LeBer <email@hidden>
- Date: Mon, 07 Mar 2011 15:23:53 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Help Needed (From: vaibhav srivastava <email@hidden>) |