• 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: valid global ID could not be obtained for entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valid global ID could not be obtained for entity


  • Subject: Re: valid global ID could not be obtained for entity
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 26 Feb 2007 21:54:49 -0800

veXcode?  Quit, delete the build directory, try again.

Chuck


On Feb 26, 2007, at 9:43 PM, Anthony Arthur wrote:

Is this a bug, or am I missed something? Upon a save I am getting a java.lang.IllegalStateException claiming a global ID could not be obtained. This error cropped up after I converted a join table, for which eos were not created, to an actual entity. I kept the same attributes that made up a compound PK before, but changed them to FK fields and added a separate, single field, PK. Now when I try to save I get:

java.lang.IllegalStateException: A valid global ID could not be obtained for entity named ScheduleDayProfileShiftProfile, relationship named scheduleDayProfiles, primary key dictionary {idShiftProfile = foo; idScheduleDayProfile = foobar; }.

As though it thinks the old compound PK is still defined. Has anyone ever seen this? I have, and what I did last time was remove the flattened relationships. I prefer not to do that this time. Can anyone offer another solution?

--Brian
_______________________________________________
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: 
 >valid global ID could not be obtained for entity (From: Anthony Arthur <email@hidden>)

  • Prev by Date: valid global ID could not be obtained for entity
  • Next by Date: New WOnderApplication won't start
  • Previous by thread: valid global ID could not be obtained for entity
  • Next by thread: New WOnderApplication won't start
  • Index(es):
    • Date
    • Thread