提交 9b9620e9 编写于 作者: A Anastasiya Volkova

#7394 add double slash comment for Sybase


Former-commit-id: 4a3548ab
上级 12e324af
......@@ -271,4 +271,14 @@ public class SQLServerDialect extends JDBCSQLDialect {
}
return super.getUnquotedString(string);
}
@Override
public String[] getSingleLineComments() {
if (!isSqlServer) {
// Sybase support also double slash as comment indicator (and "%" - but not recommend to use it in documentation)
return new String[]{"-- ", "//"};
} else {
return super.getSingleLineComments();
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册