Re: PostgreSQL data types mapped Java classes for JDBC

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: PostgreSQL data types mapped Java classes for JDBC
Дата
Msg-id 4CAF9AB6.4010203@opencloud.com
обсуждение исходный текст
Ответ на Re: PostgreSQL data types mapped Java classes for JDBC  (Thangalin <thangalin@gmail.com>)
Список pgsql-jdbc
Thangalin wrote:
> That's the problem, John.
>
> No single location provides a consistent way to know what all those
> bindings are and how they differ. If you wanted to write dynamic code
> that generates the correct mapping, you cannot readily create any such
> implementation.

Use DatabaseMetadata, it's intended for exactly this case.

Oliver

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

Предыдущее
От: dmp
Дата:
Сообщение: Re: PostgreSQL data types mapped Java classes for JDBC
Следующее
От: danap@itstriangle.com
Дата:
Сообщение: DatabaseMetaData.getTablePrivileges()