You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Heather Sterling <hs...@us.ibm.com> on 2009/05/19 16:49:15 UTC

way to get FieldMetaData for transient field


Hi, I was wondering if there was a way to retrieve FieldMetaData for a
non-persistent field.  I know that the majority of the APIs in
ClassMetaData, such as getFields(),  only return persistent fields.  I
tried using getDeclaredUnmanagedFields().  That did not work and I am not
sure I grasp the intention of the method.

The curious thing is that there are isTransient()/setTransient() APIs on
FieldMetaData, which seems to imply there is some way to access these
fields.

Heather Sterling
Systems Management Development
Phone:  919-254-7163 T/L: 444-7163
Cell: 919-423-3143
Email: hsterl@us.ibm.com