Wotoonerelationship problem
Wotoonerelationship problem
- Subject: Wotoonerelationship problem
- From: Goh Keng Boon <email@hidden>
- Date: Fri, 4 Jun 2004 13:52:14 +0800
Hi, I got this WOToOneRelationship, that is link to a country table,
i'm able to populate the whole list using WOToOneRelationship, but i'm
not able to insert it,
<code>
ToOneRelationship: WOToOneRelationship {
sourceEntityName = "locationinfo";
relationshipKey = "_locationtype";
destinationDisplayKey = "locationtypename";
sourceObject = anOutlet;
}
</code>
my table "locationinfo" has a to-1-relationship with another table
called "locationtype" and the relationship named "_locationtype"
Whenever i try to save anOutlet, i got this error :
java.lang.ClassCastException
Thanks.
KB
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.