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

Julian Reschke updated OAK-4027:
--------------------------------
    Description: 
The batch updates introduced in OAK-2066 are disable for the Oracle, because of 
the OAK-3938. It seems that Oracle 12.1 and later behave correctly:

{quote}
Starting from Oracle Database 12c Release 1 (12.1), the executeBatch method has 
been improved so that it returns an int array of size that is the same as the 
number of records in the batch and each item in the return array is the number 
of database table rows affected by the corresponding record of the batch. 
{quote}
([source|https://docs.oracle.com/database/121/JJDBC/oraperf.htm#JJDBC28767])

Please investigate this and re-enable batch updates on Oracle >= 12.1

  was:
The batch updates introduced in OAK-2066 are disable for the Oracle, because of 
the OAK-3938. It seems that Oracle 12.1 and latter behave correctly:

{quote}
Starting from Oracle Database 12c Release 1 (12.1), the executeBatch method has 
been improved so that it returns an int array of size that is the same as the 
number of records in the batch and each item in the return array is the number 
of database table rows affected by the corresponding record of the batch. 
{quote}
([source|https://docs.oracle.com/database/121/JJDBC/oraperf.htm#JJDBC28767])

Please investigate this and re-enable batch updates on Oracle >= 12.1


> Support batch updates in Oracle
> -------------------------------
>
>                 Key: OAK-4027
>                 URL: https://issues.apache.org/jira/browse/OAK-4027
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: rdbmk
>    Affects Versions: 1.3.16
>            Reporter: Tomek Rękawek
>            Assignee: Julian Reschke
>             Fix For: 1.4, 1.4.0
>
>         Attachments: OAK-4027.patch
>
>
> The batch updates introduced in OAK-2066 are disable for the Oracle, because 
> of the OAK-3938. It seems that Oracle 12.1 and later behave correctly:
> {quote}
> Starting from Oracle Database 12c Release 1 (12.1), the executeBatch method 
> has been improved so that it returns an int array of size that is the same as 
> the number of records in the batch and each item in the return array is the 
> number of database table rows affected by the corresponding record of the 
> batch. 
> {quote}
> ([source|https://docs.oracle.com/database/121/JJDBC/oraperf.htm#JJDBC28767])
> Please investigate this and re-enable batch updates on Oracle >= 12.1



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

Reply via email to