Thanks Andrus and John

> I think you have to expose C.  I believe "unmapped" means not defined in
> modeler, like if you add some instance variables that are not persisted.
>
> John
>
> On Wed, Sep 12, 2012 at 6:56 AM, <[email protected]> wrote:
>
>> Hi
>>
>> The API says that readNestedProperty supports both mapped and unmapped
>> properties. I assume this means one can ask for eg: "db:SOME_FIELD".
>>
>> Is there a way to set/write to an unmapped property ?
>>
>> For eg. if I have a table with fields:  A, B and C
>> And I only want A and B visible in my object entity.
>> C is a "background/admin" field, but it may not be null and is variable
>> like a date, user name, etc.
>>
>> So now i'm trying to set C in a pre-persist / pre-update callback ?
>> Can this be done or must I expose C through the object entity ?
>>
>> Thanks.
>>
>>
>>
>


Reply via email to