Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-55

HsqlDb PlatformInfo should not use delimited identifiers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • Core - HSQLDB
    • None

    Description

      Currently, when creating tables using HSQLDB, double quotes (") are used surrounding the table names in each CREATE TABLE statement. For example,

      CREATE TABLE "person" ...

      As a result, it isn't possible to write SQL without putting double quotes around tables names. For example, this statement doesn't work:

      select * from person;

      But this one does:

      select * from "person";

      If useDelimitedIdentifiers in PlatformInfo is set to false, then double quotes will not surround the table names in CREATE TABLE statements and then SQL statements will work as expected (without having to include the double quotes).

      I will attach a patch for this simple change.

      Attachments

        1. HsqlDbPlatform-patch.txt
          0.7 kB
          Ken Weiner

        Activity

          People

            tomdz Thomas Dudziak
            kweiner Ken Weiner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: