You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2015/11/24 16:26:11 UTC

[jira] [Created] (OAK-3676) RDBDocumentStore on SQLServer: append logic creates many different PreparedStatements

Julian Reschke created OAK-3676:
-----------------------------------

             Summary: RDBDocumentStore on SQLServer: append logic creates many different PreparedStatements
                 Key: OAK-3676
                 URL: https://issues.apache.org/jira/browse/OAK-3676
             Project: Jackrabbit Oak
          Issue Type: Technical task
          Components: rdbmk
    Affects Versions: 1.3.11, 1.2.8, 1.0.24
            Reporter: Julian Reschke
            Assignee: Julian Reschke
            Priority: Minor


The way the append logic is implemented for SQL server leads to a "flood" of prepared statements that only differ in one parameter which should have been a PreparedStatementParameter in the first place.

Refactor the logic so that special-case databases have control over the number and types of parameters, so that in this case the numerical value can become a proper parameter.



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