Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
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.