Skip to content

Commit

Permalink
Merge pull request zouzg#196 from xi-mad/patch-1
Browse files Browse the repository at this point in the history
过滤关键字
  • Loading branch information
zouzg authored Jun 20, 2018
2 parents 6b9fa12 + fa78aec commit db5a228
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public void generate() throws Exception {
Configuration configuration = new Configuration();
Context context = new Context(ModelType.CONDITIONAL);
configuration.addContext(context);

context.addProperty("autoDelimitKeywords", "true");
context.addProperty("beginningDelimiter", "`");
context.addProperty("endingDelimiter", "`");

context.addProperty("javaFileEncoding", "UTF-8");
String connectorLibPath = ConfigHelper.findConnectorLibPath(selectedDatabaseConfig.getDbType());
_LOG.info("connectorLibPath: {}", connectorLibPath);
Expand Down

0 comments on commit db5a228

Please sign in to comment.