John,
>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.
Sorry I didnt communicate that well. Setting the objects id in the Peer is
an excellent addition which I have already made use of :). In my case
though, the majority of the time I dont care what the new Object Id is, I
just want to know if it went through. I was testing against
JavaNamePeer.doInsert(JavaName) as not being null. I think that a doInsert
should return something directly even if it is redundant or covered by the
JavaName.getId().
It is no big deal, Torque is such a powerful tool that I can make the OM
classes look however I want locally. Especially if I am the only one who
wants it.
Cameron Riley
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]