I considered making this an option, but I wanted to provide a way for
id's to be retrieved if they turn out to be unneeded, as this could lead
to a lot of wasted keys.  I also had some desire to keep the
idMethod="idbroker" solution completely compatible with the
autoincrement/sequence options.  It could work that you can just use
idMethod="none" then create constructors for your business objects that
call IdBroker to get an id at instantiation.  Not sure if there might be
more involved.


James Cerezo wrote:
> 
> I need a way to generate a field value from the value of the generated ID.
> For example, if the generated ID is 99, I might set another field to
> "ABC99". Looking at the source, I can't figure out a way to do this, as the
> generation of the ID and the insertion of the record is an atomic operation
> wrapped up by the doInsert() operation.
> 
> Is there a way to do this that I'm not aware of?
> 
> thanks,
> James Cerezo
> 
> ------------------------------------------------------------
> 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