cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Saar" <juer...@jsaar.org>
Subject Re: converting property-names to db-names
Date Wed, 24 Jan 2007 09:12:44 GMT
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.Schroeder@freenet-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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message