This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Creating a new table, creates a table name that is enclosed in quotes: This is the SQL used to create the table: create table "TRAVEL"."test" ( "a" VARCHAR ) Users complained that when accessing the table from Java code, the quotes have to be escaped.
I'd like to understand in more detail why we use quotes everywhere when working with databases. Why can't we just create tables and columns without quotes? You can find out from DatabaseMetaData whether or not a database converts identifiers to lower case or upper case (most use lower case). See http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DatabaseMetaData.html#storesLowerCaseIdentifiers() also storesUpperCaseIdentifiers(), supportsMixedCaseQuotedIdentifiers(), etc. Let's get over this quote madness. Trying to write queries in the SQL query editor is frustrating because you're always having to quote things. This is actually a real usability issue.
*** This issue has been marked as a duplicate of 87920 ***