IARC-CSU / CanReg5

CanReg5 is a multi user, multi platform, open source tool to input, store, check and analyse cancer registry data.
http://www.iacr.com.fr/CanReg5
GNU General Public License v3.0
24 stars 13 forks source link

C212: A transaction should be used when storing the data Patient + Tumours + Sources #111

Closed infotel4iarc closed 2 years ago

infotel4iarc commented 2 years ago

There is no explicit handling of the database transaction. The default configuration is “auto-commit”: each statement is in a separate transaction. http://db.apache.org/derby/docs/10.15/devguide/cdevconcepts19173.html This can be a problem when several database updates should be handled as an atomic operation. For example, a successful first update followed by a failed second update would let the database in an inconsistent state.

fbinfotel commented 2 years ago

The branch is https://github.com/infotel4iarc/CanReg5/tree/feature/C212

Here are the point that were done :

Will ne merged to the dev branch after the completion of the C211 task

fbinfotel commented 2 years ago

The branch C212 has been merged to the dev branch