• 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
Making a fake EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a fake EO


  • Subject: Making a fake EO
  • From: Gennady Kushnir <email@hidden>
  • Date: Thu, 19 Feb 2009 16:18:19 +0300

Hello list!
I have rather complicated question: is it possible to make an
Enterprise Object that does not relate to any specific existing row in
database?
I want it to indicate vacant employee places where on the other hand I
don't want to store NULL.
So I want relationships pointing to "zero" which is not real primary
key for any row in database to return that fake EO in my WOapp. And
vice-versa - when I assign a relationship to fake EO - then a related
cell in database should get zero value (not null). And also I want to
be able to search database for that value using EOF.

Is it possible somehow? Or my only way is to create a real record in
my employee database called "Mr. Vacancy" and maybe even pay him
salary :)

Thanks in advance
Gennady
 _______________________________________________
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

  • Follow-Ups:
    • Re: Making a fake EO
      • From: David Avendasora <email@hidden>
    • Re: Making a fake EO
      • From: Ken Anderson <email@hidden>
    • Re: Making a fake EO
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Stable Installer Update (5679)
  • Next by Date: Re: Making a fake EO
  • Previous by thread: Stable Installer Update (5679)
  • Next by thread: Re: Making a fake EO
  • Index(es):
    • Date
    • Thread