It supports "unmapped" properties in a Java sense of "properties". E.g.:

Artist extends _Artist {
 private int unmapped;

 public int getUnmapped() {
    return unmapped;
 }
}

There's no way to persist columns nor mapped in an ObjEntity (with the 
exception of generated PKs/FK) 

Andrus

On Sep 12, 2012, at 7: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