Re: converting property-names to db-names

From: Juergen Saar (juerge..saar.org)
Date: Wed Jan 24 2007 - 04:12:44 EST

  • Next message: Peter Schröder: "AW: converting property-names to db-names"

    Just 1 more hint:

    getDataContext().getEntityResolver().lookupObjEntity(DataObject)
    brings back the ObjEntity for this DataObject.

    There you can find a list of all ObjAttributes and each ObjAttribute
    includes the information about the DbAttribute

    2007/1/24, Peter Schröder <Peter.Schroede..reenet-ag.de>:
    >
    > hi,
    >
    > is there a cayenne method that gives me the db-name of a property bye its
    > cayenne-class-property?
    >
    > i searched the code but didnt find anything...
    >
    > kind regards
    > peter
    >



    This archive was generated by hypermail 2.0.0 : Wed Jan 24 2007 - 04:13:09 EST