The object returned from WhateverPeer.doInsert(whatever) is supposed to 
be an Integer of the unique ID that got added, right?  When I set the 
ROWID field on a table to be an AUTOINCREMENT, items are getting added 
properly, but the object returned is always null.

When I turn off the autoincrememt, I added an element to the id_table 
with the name of the table, and a NEXT_ID and QUANTITY.  When I try this 
method to do an insert, it_table updates that entry, setting the 
QUANTITY to 0, and the ROWID for the newly entered item is 0.  And the 
object returned from doInsert() is again null;

What do I have to do in the Map or Peer class to specify how I'm getting 
ID's?  Is there something else I'm missing here?

Will Stranathan



------------------------------------------------------------
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