Getting benifits of database transactions in an OO way?

Leif K-Brooks eurleif at ecritters.biz
Sun Aug 22 06:26:48 CEST 2004


Paul Rubin wrote:
> Leif K-Brooks <eurleif at ecritters.biz> writes:
>>import people
>>import companies
>>people_transaction = people.begin_transaction()
>>companies_transaction = companies.begin_transaction()
> 
> 
> You wouldn't do it that way.  

How would I do it? If you have the time, I'd really appreciate a 
simplified example of how you'd write the "people" module.

> You could take a look at how javabeans does it.

I've tried Googling for "javabeans", but it's kind of like Googling for 
the word "the". Is there an example of Javabeans you would recommend 
looking at?



More information about the Python-list mailing list