You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sharan Foga (JIRA)" <ji...@apache.org> on 2015/02/21 08:35:16 UTC

[jira] [Updated] (OFBIZ-4285) Performance : GenericDao does not always use complete PreparedStatement

     [ https://issues.apache.org/jira/browse/OFBIZ-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sharan Foga updated OFBIZ-4285:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> Performance : GenericDao does not always use complete PreparedStatement
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-4285
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4285
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Philippe Mouawad
>            Assignee: Adam Heath
>              Labels: PERFORMANCE
>         Attachments: patch-OFBIZ-4285-2.patch, patch-OFBIZ-4285-genericDAO.patch
>
>
> Hello,
> While profiling SQL requests going to DB I noticed a strange behaviour where Ofbiz builds SQL Statement partly with ? and partly with inline values which results in lower Database performances.
> Issue existed on updateByCondition and has been fixed but it still exists in deleteByCondition.
> It also exists in find where EntityFunction are used for Select queries
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)