Re: EO_PK_TABLE and auto_increment
Re: EO_PK_TABLE and auto_increment
- Subject: Re: EO_PK_TABLE and auto_increment
- From: Corin Lawson <email@hidden>
- Date: Thu, 17 Nov 2005 09:23:48 +1100
Then the row must be inserted and then deleted immediately, it's a
fudge but it won't need to happen everytime. Although I would like to
know more about how oef uses the newPrimaryKeys method. Does it
request batches of PKs to be used at a later time? If so, can that
number be increased?
Cheers, Corin.
On 16/11/2005, at 6:34 PM, Anjo Krank wrote:
Am 16.11.2005 um 08:08 schrieb Corin Lawson:
The only concern I have is how do retrieve the auto_increment
field for a particular table.
Which is exactly the part that can't be done...
From what I recall with Mysql is that you insert a row and then
retrieve a last_insert_id. Which implies you have to insert the row
*first*
_______________________________________________
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