• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
to one relationship not setting foreign key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

to one relationship not setting foreign key


  • Subject: to one relationship not setting foreign key
  • From: Greg <email@hidden>
  • Date: Tue, 3 May 2005 13:20:32 +1000

I have just started to make a small application and have come across a problem that won't seem to go away.

I have 2 entities, State and Client, when I create a new client and select the state they live in, when I go to save the changes I get the following error.

EditClient (EditClient.java:48) - <er.extensions.ERXValidationException object: <davinci.Client pk:"null">; propertyKey: stateID; type: NullPropertyException; additionalExceptions: ()>

The state popup's selection property is set to the clients state relationship. It is all in a form so I don't know why it is getting set as null. All the other properties of form are correct, including another to one relationship on the client.

Does anyone have any clues as to why this would be occuring?

Any help is greatly appreciated.

Regards,
Greg
_______________________________________________
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


  • Prev by Date: Re: Tiger Server Problems
  • Next by Date: Re: Tiger Server Problems
  • Previous by thread: Re: Tiger Server Problems
  • Next by thread: Re: to one relationship not setting foreign key
  • Index(es):
    • Date
    • Thread