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

valid global ID could not be obtained for entity


  • Subject: valid global ID could not be obtained for entity
  • From: Anthony Arthur <email@hidden>
  • Date: Tue, 27 Feb 2007 00:43:57 -0500

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: valid global ID could not be obtained for entity
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Multiple WOForm's and keeping information
  • Next by Date: Re: valid global ID could not be obtained for entity
  • Previous by thread: Re: Multiple WOForm's and keeping information
  • Next by thread: Re: valid global ID could not be obtained for entity
  • Index(es):
    • Date
    • Thread