I agree that performing a group of actions in a single transaction is one of
the prettiest features of RDBO, and I also like John's approach to making
these shortcuts to Manager routines. I find myself constantly re-writing my
table relationships for manager calls.
On 2/6/07, Ask Bjørn Hansen <[EMAIL PROTECTED]> wrote:
On Feb 6, 2007, at 11:22 AM, John Siracusa wrote:
> I'm not a big fan of the *_now method types, however, which is why
> they're not the defaults. OTOH, a delete_on_save method might seem
> strange when doing something like this:
I don't think so.
I was working on converting a small CDBI app (http://
www.pool.ntp.org/ ) to RDBO recently and I quickly started to get
tripped up by the "delete now" things I made. When you get the hang
of it, it's Very Very Nice that RDBO automatically "does things in a
big transaction" with ->save(cascade => 1) being the "commit".
- ask
--
http://develooper.com/ - http://askask.com/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object