[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-torque-user
Subject: Feature Wanted: setByName, or similar
From: Peter White <peter.white () pjwc ! net>
Date: 2002-08-22 21:13:43
[Download RAW message or body]
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-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic