- All Implemented Interfaces:
- QuotedIDFactory
public class SQLStandardQuotedIDFactory
extends Object
implements QuotedIDFactory
Creates QuotedIdentifiers following the rules of SQL standard:
- unquoted identifiers are converted into upper case
- quoted identifiers are preserved
H2
--
http://h2database.com/html/grammar.html
Names are not case sensitive (but it appears that the upper-case is the canonical form).
Quoted names are case sensitive, and can contain spaces.
Two double quotes can be used to create a single double quote inside an identifier.
HSQLDB
http://www.hsqldb.org/doc/1.8/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.html
HSQLDB treats unquoted identifiers as case insensitive in SQL but stores them in upper case;
it treats quoted identifiers as case sensitive and stores them verbatim. All jdbcDatabaseMetaData
methods perform case-sensitive comparison between name (pattern) arguments and the corresponding
identifier values as they are stored in the database.
HSQLDB uses the standard SQL identifier quote character (the double quote character);
getIdentifierQuoteString() always returns ".
- Author:
- Roman Kontchakov