You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2015/06/29 17:53:07 UTC
Deprecate find-by-primary-key in Minilang?
Hi,
We have deprecated findByPrimaryKey() in favour of findOne() in Delegator API, but we still have find-by-primary-key in Minilang.
For consistency reason should we not deprecated find-by-primary-key also and use only entity-one?
Same question for find-by-and vs entity-and.
The idea is to simplify code.
Jacques
Re: Deprecate find-by-primary-key in Minilang?
Posted by Adrian Crum <ad...@sandglass-software.com>.
If these changes are made, then please update the Mini-lang
auto-correcting code so that it produces the new grammar.
Adrian Crum
Sandglass Software
www.sandglass-software.com
On 6/29/2015 8:53 AM, Jacques Le Roux wrote:
> Hi,
>
> We have deprecated findByPrimaryKey() in favour of findOne() in
> Delegator API, but we still have find-by-primary-key in Minilang.
>
> For consistency reason should we not deprecated find-by-primary-key
> also and use only entity-one?
>
> Same question for find-by-and vs entity-and.
>
> The idea is to simplify code.
>
> Jacques
>