Re: BUG: DatabaseMetaData.getColumns isn't case insensitive
От | Kris Jurka |
---|---|
Тема | Re: BUG: DatabaseMetaData.getColumns isn't case insensitive |
Дата | |
Msg-id | Pine.BSO.4.64.0902022339530.23680@leary.csoft.net обсуждение исходный текст |
Ответ на | BUG: DatabaseMetaData.getColumns isn't case insensitive (maly.velky@email.cz) |
Ответы |
Re: [JDBC] BUG: DatabaseMetaData.getColumns isn't case insensitive
|
Список | pgsql-jdbc |
On Mon, 2 Feb 2009, maly.velky@email.cz wrote: > I'was trying to get meta data of a column and discovered that the column > name is case sensitive though it should be case insensitive. I don't > know if this can be somehow determined by a configuration or environment > change because I believe that till recently it worked in a > case-insensitive manner. This is done by design and has been since 7.3 I believe. The problem is that you can legally have two columns named "T1" and "t1". To support this we need to be case sensitive on the Java side. > BTW, the metadata reports: > supportsMixedCaseIdentifiers: false > supportsMixedCaseQuotedIdentifiers: true > (which is pretty much expected) This is reporting how the server matches up with the SQL standard, not how a particular JDBC API call works. Kris Jurka
В списке pgsql-jdbc по дате отправления: