[CDBI] Re: Transaction over parent and children has_a objects

Christopher H. Laco claco at chrislaco.com
Tue Aug 9 03:28:57 BST 2005


Edward J. Sabol wrote:
> Christopher H. Laco wrote:
> 
>>All I'm really after is to turn autocommit off, update a parent
>>and multiple child has_a record, them commit or rollback the
>>entire transaction.
> 
> 
> Take a look at the section I wrote at
> 
> http://wiki.class-dbi.com/index.cgi?AtomicUpdates
> 
> There's a usage example there, too.
> 
> Hope this helps,
> Ed
> 
> _______________________________________________
> ClassDBI mailing list
> ClassDBI at lists.digitalcraftsmen.net
> http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
> 
> 
SO, based on all of the info together, it looks like all I have to do is 
localize AutoCommit and commit/rollback, and it Just Works for child 
relationships?

-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digitalcraftsmen.net/mailman/private/classdbi/attachments/20050808/4b4fd0d6/smime.bin


More information about the ClassDBI mailing list