Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2011-09-03 14:08:25 +0000
committerRyan D. Brooks2011-09-03 14:08:25 +0000
commit17c93d85dcf42c940f4bdfb041daa68a4a93a030 (patch)
tree7bd42ed0c1ce861949bf51ca92ef6f8c073aa21b
parentba30c76b7a219343b799350f44a043bd50ae2fbd (diff)
downloadorg.eclipse.osee-0.9.9.v201109031236_REL.tar.gz
org.eclipse.osee-0.9.9.v201109031236_REL.tar.xz
org.eclipse.osee-0.9.9.v201109031236_REL.zip
refinement: Improve performance of BranchExportOperation0.9.9.v201109031236_REL
-rw-r--r--plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/branch/BranchExportOperation.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/branch/BranchExportOperation.java b/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/branch/BranchExportOperation.java
index 27a6f0eb5ba..7b405ce38c2 100644
--- a/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/branch/BranchExportOperation.java
+++ b/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/branch/BranchExportOperation.java
@@ -59,7 +59,8 @@ public final class BranchExportOperation extends AbstractOperation {
if (branchIds.isEmpty()) {
IOseeStatement chStmt = ConnectionHandler.getStatement();
try {
- chStmt.runPreparedQuery(String.format(SELECT_BRANCHES, includeArchivedBranches ? "" : "where archived = 0"));
+ chStmt.runPreparedQuery(10000,
+ String.format(SELECT_BRANCHES, includeArchivedBranches ? "" : "where archived = 0"));
while (chStmt.next()) {
branchIds.add(chStmt.getInt("branch_id"));
}

Back to the top