Re: DatabaseMetaData patch

Поиск
Список
Период
Сортировка
От Rene Pijlman
Тема Re: DatabaseMetaData patch
Дата
Msg-id 152rnt0k33g1m6t70eflr5uvpnip0ubp49@4ax.com
обсуждение исходный текст
Ответ на DatabaseMetaData patch  (Liam Stewart <liams@redhat.com>)
Ответы Re: DatabaseMetaData patch
Список pgsql-patches
On Fri, 17 Aug 2001 15:59:38 -0400, you wrote:
>Here is a small patch for the DatabaseMetaData class (both jdbc1 and
>jdbc2) that gets the unimplemented methods that should return a
>ResultSet to throw an SQLException -- correct according the JDBC API.
>They used to return null.

Looks good. Fix in 7.2 documented on
http://lab.applinet.nl/postgresql-jdbc/#DatabaseMetaData (work
in progress).

>Also the getTypeInfo method will throw an
>SQLException if the ExecSQL call returns null.

Shouldn't

   throw new PSQLException("metadata unavailable");

in getTypeInfo() be something like:

   throw new PSQLException("postgresql.meta.unavailable");

to allow translation of the error message in the
errors*.properties files?

Regards,
René Pijlman

В списке pgsql-patches по дате отправления:

Предыдущее
От: "John Gray"
Дата:
Сообщение: New version of XML support routines (0.2)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Revised Patch to allow multiple table locks in "Unison"