Greetings, Marc Lustig wrote:
>I have a short question: what exactly is refered to as a "Data Object" in >the Peers HowTo. > > It refers to the classes that Torque generates for you to use to manipulate individual domain objects. Example: My database has a 'product' table. Torque used the XML description of this in my schema file to generate several Java source code files. One of these files was Product.java, the source for the data object. When I do a query, I get a Vector of Product objects, each one instantiated with data from a row in the product table. When I set properties on an object and then call the 'save' method, the change gets saved back to that object's corresponding row in the database. (I call this "the Circle of Life." :-) -- Edwin Gustafson Cayman Chemical Company -- 734 971 3586 x 221 http://www.caymanchem.com/promo/ewg 42*13'44" N 83*43'25" W -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
