• 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: EO_PK_TABLE vs EO_SEQUENCE_TABLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE


  • Subject: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • From: Darryl Snover <email@hidden>
  • Date: Fri, 26 Sep 2003 11:46:43 -0400

Well, you could likely create a view with the proper name. Or, if on Oracle, use a Synonym....

What database are you running against?

-Best regards,

Darryl Snover


Since the WebObjects 5.2 uses a different table, EO_PK_TABLE instead of
EO_SEQUENCE_TABLE, for primary key generation, I need to find a way to make
the pk in sync for both 4.5.1 and 5.2 apps.

My question is how?
1. Create trigger in the database whereas whenever a update to either one
table, update the other one.
(I'm not a datatbase guy. If I create two triggers, one on EO_PK_TABLE , the
other one on EO_SEQUENCE_TABLE, will it create a infinite loop sincary?)

2. Found out where (my guess is at the control layer) the code is and modify
it such that it uses EO_SEQUENCE_TABLE.

Any suggestion?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
      • From: "Adam Chan" <email@hidden>
References: 
 >Re: Using NSArray for Lists and WODisplayGroup for Batches (From: james o <email@hidden>)
 >EO_PK_TABLE vs EO_SEQUENCE_TABLE (From: "Adam Chan" <email@hidden>)

  • Prev by Date: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • Next by Date: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • Previous by thread: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • Next by thread: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • Index(es):
    • Date
    • Thread