• 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: email@hidden (Anjo Krank)
  • Date: Fri, 26 Sep 2003 18:10:50 +0200
  • Xx-reply-to: email@hidden

Am Freitag, 26.09.03 um 18:34 Uhr schrieb Adam Chan:

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

Depending in the DB, this is set by the PlugIn normally via the method primaryKeyTableName(). You'll need to subclass the plugin and set your subclass via JDBCPlugIn.setPlugInNameForSubProtocol().


It will be easier to simply set a database context delegate, implementing

public NSDictionary databaseContextNewPrimaryKey(EODatabaseContext databaseContext, Object object, EOEntity entity)

and issue the needed SQL there.

Cheers, Anjo
_______________________________________________
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.

References: 
 >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: Using NSArray for Lists and WODisplayGroup for Batches
  • Index(es):
    • Date
    • Thread