• 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
Re: Reliability EOModeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reliability EOModeler


  • Subject: Re: Reliability EOModeler
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 13 Aug 2007 09:26:34 -0700


On Aug 13, 2007, at 5:54 AM, Frank Stock wrote:

Hi All,

I have a many to many relation with a relation-table. I don't work with propagate key, so I have a primairy key and two foreign keys to the other tables. Those foreign keys cannot be null.

Why? If the table has only those three columns, then propagating the PK is the right thing to do.



Sometimes we see that one of the keys, or both of the foreign keys are zero. I am not able to reproduce that yet, but it is happening to much. Of course when we later delete a row that has a relation to another table with foreign key zero, we get an exception!!!

The only thing that I can think of is that something in your code is setting it to zero. Zero is a valid PK / FK for EOF, not an indication that the key is missing, This might also happen if the key columns in the tables are defined with different types or have subtle differences in the type definitions.


Chuck


I wanted to know if someone else has experienced that. How can I get an zero? Is it because I am not working with propagate keys? My project is very complicated and I use many different EOEditingcontext, but just one instance for the moment.

Thanks,
Frank Stock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: 
 >Reliability EOModeler (From: Frank Stock <email@hidden>)

  • Prev by Date: Re: Controlling which submit button is default?
  • Next by Date: Re: Controlling which submit button is default?
  • Previous by thread: Reliability EOModeler
  • Next by thread: Re: WOCreator
  • Index(es):
    • Date
    • Thread