Daryl,

I understand this as true means "treat as new". You can find descriptions of 
various entity states in PCState subclasses. This is how describes itself the 
HollowState:

 * Represents a hollow instance that exists in the data store, but whose
 * state has not been loaded and who is not active in the current transaction
 * (if any). This may be the state of instances returned on ID lookups or by
 * traversing relations, and the state of persistent instances outside of
 * transactions (unless the retainValues flag is set in the Broker).

Hope this helps,
Milosz


> Hello,
> 
> ...kernel.Broker.isDetachedNew() is defined as follows:
> 
>      /**
>      * Whether to treat relations to detached instances during persist
>      * operations as new or as pseudo-hollow instances.
>      */
>     public boolean isDetachedNew();
> 
> Does "true" mean "treat as new" or "treat as pseudo-hollow"? And what is the
> significance of both?
> 
> Thanks.
> 
> --Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> mailto:[email protected]
> 

Reply via email to