Skip to content

Commit

Permalink
fix oracle hint
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Dec 6, 2012
1 parent c39bb27 commit c085634
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -72,7 +72,9 @@ public OracleSymmetricDialect(IParameterService parameterService, IDatabasePlatf
@Override
protected void buildSqlReplacementTokens() {
super.buildSqlReplacementTokens();
sqlReplacementTokens.put("selectDataUsingGapsSqlHint", "/*+ index(d SYM_IDX_D_CHANNEL_ID) */");
if (parameterService.is(ParameterConstants.DBDIALECT_ORACLE_USE_HINTS, true)) {
sqlReplacementTokens.put("selectDataUsingGapsSqlHint", "/*+ index(d SYM_IDX_D_CHANNEL_ID) */");
}
}

@Override
Expand Down

0 comments on commit c085634

Please sign in to comment.