http://ci.apache.org/projects/ofbiz/site/javadocs/org/ofbiz/entity/Delegator.html#findByPrimaryKey%28java.lang.String,%20java.util.Map%29
-Adrian
On 4/21/2011 7:52 AM, Ruth Hoffman wrote:
Hi Jacques:
Out of curiosity, I have often wondered about this:
For my own coding, should I use findByPrimaryKey or findOne? Which is
the "better" solution? Regardless of Java, Groovy or other?
TIA
Ruth
On 4/21/11 4:11 AM, Jacques Le Roux wrote:
Hi,
It would not be a big work effort to replace,and later use only, all
findByPrimaryKey, findByAnd and also findList in Groovy and Java
files by their cache overloads (or useCache for findList).
Is there a reason it has not been done yet? I can't see one.
Thanks
Jacques