• 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: EOEntity question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOEntity question.


  • Subject: Re: EOEntity question.
  • From: "Cheong Hee (Gmail)" <email@hidden>
  • Date: Wed, 06 Jun 2012 11:06:40 +0800

Primary key generation need to be observed to ensure no duplication of keys happened in the same table. Since eo primary key table is using the table name, it should be fine, too.

----- Original Message ----- From: "Johann Werner" <email@hidden>
To: "doug andrews" <email@hidden>
Cc: "WebObjects-Dev Mailing List List" <email@hidden>
Sent: Tuesday, June 05, 2012 10:56 PM
Subject: Re: EOEntity question.


Hi Doug,

that shouldn't be a problem as long as the other entity does not have attributes that are marked as NOT NULL which would result in exceptions during save or fetch.

jw


Am 05.06.2012 um 16:29 schrieb doug andrews:

In one model, I have two entities that reference the same table.
One entity exposes attributes that the other does not.
One entity has a custom class, the other's class is EOGenericRecord.
Neither entity has a parent.

This is old code with a lot of lines, so removing one of the entities is not an option.

Will this be a problem?
Should one entity have the other as a parent?



_______________________________________________
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

_______________________________________________
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: 
 >Re: EOEntity question. (From: Johann Werner <email@hidden>)

  • Prev by Date: Re: import wonder project to eclipse
  • Next by Date: D2W: Property level component for truncating a string?
  • Previous by thread: Re: EOEntity question.
  • Next by thread: Re: import wonder project to eclipse
  • Index(es):
    • Date
    • Thread