From 4018d582ed9ed4a7a39c7855615526073166eb91 Mon Sep 17 00:00:00 2001 From: sinthuja Date: Tue, 20 Jun 2017 16:17:07 +0530 Subject: [PATCH] Adding comments to the batch size config. --- .../mgt/core/dao/impl/feature/OracleServerFeatureDAOImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/impl/feature/OracleServerFeatureDAOImpl.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/impl/feature/OracleServerFeatureDAOImpl.java index 91add5615c..124e5a7ee4 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/impl/feature/OracleServerFeatureDAOImpl.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/impl/feature/OracleServerFeatureDAOImpl.java @@ -32,6 +32,9 @@ import java.sql.SQLException; import java.util.List; public class OracleServerFeatureDAOImpl extends AbstractFeatureDAO { + /** + * Batch sizes greater than 10 throws array out of bound exception. + */ private static int BATCH_SIZE = 10; @Override