• 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: Single-table inheritance error [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single-table inheritance error [SOLVED]


  • Subject: Re: Single-table inheritance error [SOLVED]
  • From: Jon Nolan <email@hidden>
  • Date: Wed, 30 Sep 2009 15:24:51 -0600
  • Organization: Loch Garman


   public void awakeFromInsertion(EOEditingContext ec) {
       super.awakeFromInsertion(ec);
       setResourceType(ResourceType.Resource2);
   }

Also, in case it matters, resourceType is a javaEnum.
Bingo. Changed it to a varchar50/String(RTRIM) and it works exactly as expected.

Not too sure if this qualifies as a bug or as a worst practice. Either way, thanks for the brain tweaks as they led me to solving in minutes something which has been driving me nuts all day.

_______________________________________________
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: Single-table inheritance error [SOLVED]
      • From: Mike Schrag <email@hidden>
References: 
 >Single-table inheritance error (From: Jon Nolan <email@hidden>)
 >Re: Single-table inheritance error (From: Mike Schrag <email@hidden>)
 >Re: Single-table inheritance error (From: Jon Nolan <email@hidden>)

  • Prev by Date: ERExcelLook filename
  • Next by Date: Re: Single-table inheritance error
  • Previous by thread: Re: Single-table inheritance error
  • Next by thread: Re: Single-table inheritance error [SOLVED]
  • Index(es):
    • Date
    • Thread