Hi,
The usual way is to read another instance of the class from the database.
Thomas
David Beukes <[EMAIL PROTECTED]> schrieb am 06.10.2005 11:35:11:
> Hi,
>
> Fairly new to Torque so please go easy :)
>
> Is there a 'generally accepted' way to re-read a record. Scenario as
> follows; using Torque generated classes 'Transactions' and
> 'TransactionsPeer':
>
> 1. Create new instance of Transaction class by calling
> TransactionsPeer.retrievByPK.
>
> 2. External program gets control (through TCP connection) does some
> processing on the same record.
>
> 3. I still have original instance from point 1 but need to read changes
> that were made to the record in point 2.
>
> Should I simply create another instance of the Transactions class or is
> there a 'cleaner' way to re-read the record.
>
> Thanks in advance for any tips.
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]