[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] setCOB()
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] setCOB() |
Date: |
Sun, 23 May 2004 21:11:34 +0200 |
User-agent: |
Mutt/1.3.22.1i |
> Not entirely sure what you mean,
It is weeks old :-)
> Having said that, we do need to rework this code, because currently each call
> to gmDemographicRecord gives
> rise to a separate SQL transaction: changing a record needs to be a single
> transaction.
I don't think so. Changing an address belonging to the record
should be. Therefore run_commit() takes a *list* of queries to
execute. OTOH in the clinical record we have moved the
atomicity into the clinical item objects, eg either a clinical
item object can save it's payload clinically meaningfully or
it cannot.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346