The Object it was returning was the generated id if one was generated. 
I changed this so that it sets the objects id to this value internally,
so there is no reason to return it.

The intended scenario is something like:
new object without an id set is inserted into the database.  It now has
its id set to match its record in the db.  If you want the id, ask the
object.  I guess I changed it to enforce this oo behavior.  Why do you
want to -1 this change?

John McNally


"Riley, Cameron" wrote:
> 
> I just re-ran the om generation for Torque, the Peer.vm template has the
> doInsert( $table.JavaName obj)  method as returning void, previously it
> returned Object from doInsert(Criteria). What was the reason for the change?
> 
> If noone objects I would like to change it back to returning Object.
> 
> Cameron Riley
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


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