Hi, I'm trying to alter the behaviour of specific auto-generated RDBO method. For example I have Product and I want to make the `photo' method to store the passed file name on file system.
I see 2 ways implementing this: (a) inheritance - Product -> MyProduct where I re-implement the `photo' method to store the image on file system and call SUPER::photo (b) RDBO triggers - on_set It seems more natural to me to use inheritance (the first approach) but the problem comes from auto initialization. The product has relationship with other classes and the auto initialization of RDBO discovers them but the problem is that it uses "Product" class as reference class in the relationship, not "MyProduct". I can fallback to triggers but I wander if I can do this (extending the auto-generated method) in other way. --Svi ------------------------------------------------------------------------- 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