Hi,

In BasePeer.java doInsert method's document
     * If the primary key is auto incremented the data in Criteria will
     * be inserted and the auto increment value will be returned.

I'm confusing to use doInsert method.
When I insert data to MySQL use doInsert method and check it to MySQL using
MySQL client.
The data inserted right postion
( for example if the previous id, which is defined Auto_Increment and
Primary Key, is n - 1 , then the data inserted n position )
But the returned value is different value.
The returned value is the same as ID_TABLE's next_id column value but not
the same as above primary key value.

Should the returned value and ID_TABLE's next_id value be same as the
primary key value or not ?

Thanks in advance.

youngho



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to