- All Implemented Interfaces:
- it.unibz.inf.ontop.dbschema.QuotedIDFactory
- Direct Known Subclasses:
- MySQLCaseNotSensitiveTableNamesQuotedIDFactory, MySQLCaseSensitiveTableNamesQuotedIDFactory
public abstract class MySQLAbstractQuotedIDFactory
extends it.unibz.inf.ontop.dbschema.impl.SQLStandardQuotedIDFactory
Creates QuotedIdentifiers following the rules of MySQL:
- unquoted table identifiers are preserved
- unquoted column identifiers are not case-sensitive
- quoted identifiers are preserved
https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html
How table and database names are stored on disk and used in MySQL is affected
by the lower_case_table_names system variable, which you can set when starting mysqld.
Column, index, and stored routine names are not case sensitive on any platform, nor are column aliases.
https://dev.mysql.com/doc/refman/8.0/en/identifiers.html
The identifier quote character is the backtick (`):
If the ANSI_QUOTES SQL mode is enabled, it is also permissible to quote identifiers
within double quotation marks. The ANSI_QUOTES mode causes the server to interpret
double-quoted strings as identifiers. Consequently, when this mode is enabled,
string literals must be enclosed within single quotation marks.
- Author:
- Roman Kontchakov