Re: buffering & transactions

From: Thomas Ganss (tganss_at_t_dash_online_dot_de-remove-all-after-first-real-dash_at_yahoo.com)
Date: 03/20/05


Date: Sun, 20 Mar 2005 06:11:07 +0100

Paul Pedersen schrieb:
> Thanks.
>
> I open a transaction only when saving. But in this unusual case, "Save" is
> an extended process involving calculations and several updates to various
> tables. (Just what transactions were made for, I think.) Some of those
> updates are simple inserts (sql), so offhand I don't see a need to buffer
> those. I have them in TRY blocks and can rollback if necessary.

In vfp6 we ran into trouble using transactions on a save process that
was coded to include (yes, I know ... not my design<g>) BizObject checks
on the data to be saved and some optional protocols and/or audit trails.

Dunno if there still is a problem, but if you get chr(0) in your saved
tables, this can be one reason. But there are some other (even
documented at MS) ways to get invalid data.

my 0.02 EUR

thomas



Relevant Pages

  • RE: Timeout Expired for no apparent reason
    ... How do I set the timeout for transactions? ... "Steve S" wrote: ... >> for each row updates a row in another table and then updates the original ...
    (microsoft.public.data.oledb)
  • Re: transactions per seconds - how many?
    ... For a sproc that does updates, 220 transactions per second is about the best ... > on your sql servers? ... > The sql server runs double xeon machine and 2 scsi drives. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: computational model of transactions
    ... How do "other intervening transactions" exist ... attribute; whereas replacement doesn't. ... Assuming that the above updates occur in different transactions, ...
    (comp.databases.theory)
  • Container-managed Transactions scope
    ... Updates and Deletes are inside an EJB method. ... the Container-managed Transactions be extended to the DAOs automatically. ... If container do keep track of transactions like that then how many nested ...
    (comp.lang.java.programmer)
  • Re: Container-managed Transactions scope
    ... Updates and Deletes are inside an EJB method. ... > the Container-managed Transactions be extended to the DAOs automatically. ... > If container do keep track of transactions like that then how many nested ...
    (comp.lang.java.programmer)