Re: Reading schema information

Поиск
Список
Период
Сортировка
От dmp
Тема Re: Reading schema information
Дата
Msg-id 556485A3.6070700@ttc-cmc.net
обсуждение исходный текст
Ответ на Reading schema information  (Mansour Al Akeel <mansour.alakeel@gmail.com>)
Список pgsql-jdbc
 > Index 23 is IS_AUTOINCREMENT which does not have the same meaning as
 > IS_GENERATEDCOLUMN (index 24) which was added to the JDBC specification in
 > Java 7 / JDBC 4.1. The former is only for one specific column type: auto
 > increment (eg serial), while the latter is for all calculated or otherwise
 > generated columns.
 >
 > Mark

Yes, that is correct. I was looling at the code array indexing not the
API. rs.getString(24) is the correct index and IS_GENERATEDCOLUMN is not
implemented in getColumns().

danap.


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Reading schema information
Следующее
От: Thomas Kellerer
Дата:
Сообщение: CallableStatement.getParameterMetaData() throws exception for valid {call ...} statement