• 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: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance?


  • Subject: Re: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance?
  • From: René Bock <email@hidden>
  • Date: Tue, 14 Dec 2010 20:48:50 +0100


Am 14.12.2010 um 20:05 schrieb Pascal Robert:


Le 2010-12-14 à 13:58, René Bock a écrit :

Hi all,

After migrating our CMS from WO 5.3 to 5.4 we noticed some strange effects on the PrimaryKey generation via EO_PK_TABLE

Our project makes extensive use of horizontal inheritance, using different models in different frameworks.

Normally,  there is (and should be) only on row per base entity in EO_PK_TABLE. But this rule was broken, when we try to call  anEo.permanentGlobalID()  for an unsaved eo.
It has the effect, that now in EO_PK_TABLE  there is an entry for anEo.entityName(), but the pk value of the base entity was not incremented (which leads to not so amusing effects)

As, of cause, I can't reproduce this behavior with a simple test application, I would like to here if anybody else has experienced this phenomena or hears ringing a bell?

Luckily I can avoid calling permanentGlobalID on unsaved EOs, but not knowing why pk-generation may be broken, doesn't let me sleep to well...

I'm using WO.5.4.2, current Wonder _5_4_branche  and using either MySQL or Microsoft SqlServer...

Move to 5.4.3, 5.4.2 have some big bugs in it.

Ouups...

But 5.4.3 wasn't the remedy for this problem :-(




regards,

René Bock
Software Engineering

--
Salient GmbH  -  the interactive advantage
http://www.salient.de http://www.openforms.de
Mit freundlichem Gruß,

René Bock
Software Engineering

--
Salient GmbH  -  the interactive advantage
Kontorhaus -  Lindleystraße 12, 60314 Frankfurt Main

Fon +49 (0)69 - 650096 -0, Durchwahl: - 18, Fax: -70

http://www.salient.de
http://www.openforms.de
http://www.mockabilly.com


Geschäftsführer: Peter Biler, Alexander Gerling, Lars Ohlerich
Amtsgericht Frankfurt Main, HRB 48693

+++ salient entwirft neues Online-Banking für die Sparda Bank +++

 _______________________________________________
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: 
 >Primary Key Generation broken when using permanentGlobalID and horizontal inheritance? (From: René Bock <email@hidden>)
 >Re: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance? (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance?
  • Next by Date: Re: Quick ERXEnterpriseObject newly inserted Question --
  • Previous by thread: Re: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance?
  • Next by thread: Re: Primary Key Generation broken when using permanentGlobalID and horizontal inheritance?
  • Index(es):
    • Date
    • Thread