Re: cayenne mapper - specifying dataobject class

From: Holger Hoffstätte (holge..izards.de)
Date: Thu Apr 03 2003 - 07:57:15 EST

  • Next message: Holger Hoffstätte: "Re: clobs in cayenne"

    > I have found it very useful implementing my own intermediary class
    > between CayenneDataObject and the _MyTable auto generated classes. This
    > allows me to provide new base functionality such as field mapping (hash
    > map), a generic populate(ResultSet) method etc.

    Yup, very handy.

    > Is it possible to specify in the mapper a base class to use other than
    > the CayenneDataObject... for now I simply update them manually.

    Sure. Select your ObjEntity, select the "Entity" tab, type in the name of
    your class in the "Super class name" field. This defaults to
    CayenneDataObject.

    Holger



    This archive was generated by hypermail 2.0.0 : Thu Apr 03 2003 - 08:02:18 EST