You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Imre András Róbert <im...@mail.tvnet.hu> on 2007/03/26 23:25:54 UTC
Using freeze() in entity conditions
Hi,
I see that there is a freeze() method introduced for the following
abstract classes:
EntityCondition, EntityConditionValue, EntityOperator
I suspect that this is somehow related to optimization, but I do
not know its exact effect. I also looked for use cases in ofbiz code,
but did not find anything.
Should I always call
aCondition().freeze();
before
delegator.findByCondition("AnEntity", aCondition, null, null);
?
Could someone provide me some details on this, please?
Thanks,
András