Oracle Dialect Quote Brackets #1434

Closed
opened 2019-09-25 09:05:45 +00:00 by sumiet · 2 comments
sumiet commented 2019-09-25 09:05:45 +00:00 (Migrated from github.com)

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.

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.
sumiet commented 2019-09-25 09:08:06 +00:00 (Migrated from github.com)

The reference git commit in which this change was brought in: b757473de7?diff=split

The reference git commit in which this change was brought in: https://github.com/go-xorm/xorm/commit/b757473de7f547d767fc5425c060026d5c89af5c?diff=split
lunny added this to the 1.1.1 milestone 2020-01-20 05:26:49 +00:00
lunny modified the milestone from 1.1.1 to 1.0.0 2020-02-29 09:22:43 +00:00
lunny closed this issue 2020-03-06 07:49:39 +00:00

Should be resolved by #1567

Should be resolved by #1567
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1434
No description provided.