Horst Herb wrote:
> 

> 6.) How to you intercept, recognize and handle it when one of your Btrees
> gets corrupt?
> 

Realizing that most people here wouldn't be real interested in
reading the "wonderfully entertaining" <vbg> document at:
http://www.zope.org/Documentation/Developer/Models/ZODB

I'd like to give an example of the two phase commit protection
built in to the ZODB Storage manager.  The execution of every
Python or DTML Method is a transaction.  So if I go to the Lab
order selection box and select four labs, press Continue and
enter the instructions for each one.  Then if during the creation
of the Lab objects in the patient record or the orders to the Lab
something happens to the network connection (or there is a bug in
FreePM <s>) the entire transaction is rolled back and the user
receives a (not so friendly yet) exception notice. So the
physician knows immediately if the orders were placed
successfully. 

-- 
Tim Cook, President - FreePM,Inc. 
http://www.FreePM.com Office: (901) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM

_______________________________________________
Freepm-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/freepm-discuss

Reply via email to