On Oct 13, 2006, at 4:33 PM, John Siracusa wrote: > It does :) Read up on the "get_set_on_save" variants of the methods > created for the various relationship types. In this case, a > one-to-one relationship, the default automatically created method > types: > > http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/ > Metadata/Relationship/OneToOne.pm#default_auto_method_types > > are "get_set_on_save" and "delete_on_save". Looking at the method map: >
thats great. I expected that Rose did the save already already... I was just amazed at the 'define' functionality >> $a = A->new(id => 123); >> $b = B->new(id => 123); >> $a->b($b); that $a->b() part -- i didn't think rose could do that. the docs didn't make it clear that you can just stuff a relationship object into the namespace whenever. i thought it was read only. ------------------------------------------------------------------------- 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