#1434·xorm

Oracle Dialect Quote Brackets

Author: sumietCreated Sep 25, 2019Updated Sep 28, 2019
Labelsenhancement

I am using this library to generate queries for Oracle (Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production) and it generates table and column names with square brackets around them. For example:

Actual: Select [column_name] from [table_name]; Expected: Select column_name from table_name;

I did some analysis and found that the brackets are coming from the Quote method in oracl_dialect file. Is there a way to disable the quote application? or to go back to "\"" quote format?

If not please consider fixing it. Thanks in advance.