You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Abe White <ab...@oracle.com> on 2008/08/15 17:50:22 UTC
Re: _impl and _fieldImpl in PCDataImpl class, are these 2 fields
ever used ?
_impl and _fieldImpl are space for implementations to store
impl-specific data about the object or its fields. I don't recall
whether Kodo/OpenJPA currently uses this feature. Custom mappings
might.
On Thu, 2008-08-14 at 13:36 -0700, catalina wei wrote:
> Hi all,
> In order to develop a DataCache plugins of our own, we need to understand
> the 2 fields in the PCDataImpl.java, _impl and _fieldImpl:
> private Object _impl = null;
> private Object[] _fieldImpl = null;
>
> Under the debugger with the DataCache enabled, I have not seen these 2
> fields ever set.
Re: _impl and _fieldImpl in PCDataImpl class, are these 2 fields
ever used ?
Posted by Pinaki Poddar <pp...@apache.org>.
If these fields are counterparts of StateManager's ability to store
implementation-specific data per-field basis, then please note that Slice
uses these slots in StateManager to store the original slice index from
where a particular instance is originally loaded.
--
View this message in context: http://n2.nabble.com/_impl-and-_fieldImpl-in-PCDataImpl-class%2C-are-these-2-fields-ever-used---tp724980p731135.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.