Good idea. I've put an issue for it into http://scarab.werken.com. Hopefully things will fall together within the next month or so and I can start working on stuff like this.
- Stephen > -----Original Message----- > From: Peter White [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 22, 2002 4:14 PM > To: Turbine Torque Users List > Subject: Feature Wanted: setByName, or similar > > Yep, we have "getFieldNames()" and "getByName" on the Base<tablename> class > that lets me have some generic code to retrieve values from the underlying > database (but I must use a specific class). However, to set database values, > I have to have code to either explicitly use each "set<FieldName>" method on > each Base<tablename> class, or (what I'm trying now) load field values into a > Criteria object and call the "doInsert/Update/Delete" method on each specific > "Base<tablename>Peer class. Presumably I can use the BasePeer/BaseObject > classes directly? What I would like is a generic propery getter/setter, so I > can determine class/table name and field names at runtime. > > Any comments? > > Pete > > -- > To unsubscribe, e-mail: <mailto:turbine-torque-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:turbine-torque-user- > [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
