Re: [CDBI] Re: Transaction over parent and children has_a objects
[prev]
[thread]
[next]
[Date index for 2005/08/09]
This is a cryptographically signed message in MIME format.
--===============0295804885==
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
micalg=sha1; boundary="------------ms090602050704040001050203"
This is a cryptographically signed message in MIME format.
--------------ms090602050704040001050203
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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@xxxxx.xxxxxxxxxxxxxxxx.xxx
> 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
--------------ms090602050704040001050203
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII8TCC
AtMwggI8oAMCAQICAw37vjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMjA3MTc0NDM3WhcNMDYwMjA3MTc0NDM3
WjBFMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSIwIAYJKoZIhvcNAQkBFhNj
bGFjb0BjaHJpc2xhY28uY29tMIIBIjANBgkqhk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TBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl
IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECAw37vjB6BgsqhkiG9w0BCRACCzFroGkwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0
ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMN+74wDQYJKoZIhvcNAQEBBQAEggEA
SFa0ogjZgWlPUaqTkGyqKT9goJcYWTwnbtZMqBe4oL5GXwqIn6+veDGyXvQhkOOlokzXinRy
Ug7bj3JKIC+p9YgyfcrlidSWEj8GpqOhmy3GeU8LvCjq1ZoUVH2pEjFCsQJ32ymaV0saRUsd
AUZi38zmmxPoJwu5WEbcQgOvWyyS0SVRrWg6J9gEtCLqVf8RVtNynrsrZfL7ngupXPFEqFct
F5wSwPu/cKUOk2AeK5cw2WpuCydrhaLbD2bXm0OpRDOXV0MjYw83neb2XP0RaoxdBre8MuBm
5sMduOVyc+1N/y9vOgGfgxT8CjEU26GwInv2b17icYkU7iHcUZPtrQAAAAAAAA==
--------------ms090602050704040001050203--
--===============0295804885==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
--===============0295804885==--