Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2017-05-09 15:27:00 +0000
committerdonald.g.dunne2017-05-10 19:54:35 +0000
commit80898a38b69c9f233e8c33d83fe1025283630b75 (patch)
tree06d8e32ccc4a400ccda7f43c495f1acc449344ee /plugins/org.eclipse.osee.orcs.db
parente8ab4140311ca95cb196da4c9ed16c573fb66165 (diff)
downloadorg.eclipse.osee-80898a38b69c9f233e8c33d83fe1025283630b75.tar.gz
org.eclipse.osee-80898a38b69c9f233e8c33d83fe1025283630b75.tar.xz
org.eclipse.osee-80898a38b69c9f233e8c33d83fe1025283630b75.zip
feature[ats_ATS376468]: Remove ordered oracle hints from sql
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db')
-rw-r--r--plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/AbstractSqlWriter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/AbstractSqlWriter.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/AbstractSqlWriter.java
index 816bab8a2b4..d8e1d8b568a 100644
--- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/AbstractSqlWriter.java
+++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/AbstractSqlWriter.java
@@ -367,8 +367,8 @@ public abstract class AbstractSqlWriter implements HasOptions {
protected String getSqlHint() throws OseeCoreException {
String hint = Strings.EMPTY_STRING;
- if (!Conditions.hasValues(withClauses)) {
- hint = OseeSql.Strings.HintsOrdered;
+ if (!Conditions.hasValues(withClauses) && jdbcClient != null && jdbcClient.getConfig() != null) {
+ hint = OseeSql.Strings.getHintsOrdered(jdbcClient.getConfig().getDbProps());
}
return hint;
}

Back to the top