Re: [INTERFACES] JDBC ResultSetMetaData.getColumnType and getColumnTypeName work properly?

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] JDBC ResultSetMetaData.getColumnType and getColumnTypeName work properly?
Дата
Msg-id Pine.LNX.4.04.9812281928130.2134-100000@maidast.retep.org.uk
обсуждение исходный текст
Ответ на Re: [INTERFACES] JDBC ResultSetMetaData.getColumnType and getColumnTypeName work properly?  ("Shankha S. Mitra" <ssm@antrim.com>)
Список pgsql-interfaces
On Mon, 28 Dec 1998, Shankha S. Mitra wrote:

> Aah, that explains it.  I'm using JDK 1.2 beta4 (which I guess _is_ now
> JDK 2.0).  THe JDBC in JDK 2.0 does have ARRAY, etc.
>
> Thanks for the reply.
> Shankha
>
>
> Peter T. Mount writes:
>  > Yes, there is no constant of Types.ARRAY in JDBC (see below). The
>  > implementation sets the type to OTHER if it doesn't recognise it.
>  >
>  > > Also getColumnTypeName() returns _int4; is that correct?
>  >
>  > no, it should return String - will check.

I think the int4 is what it's translating the postgresql type as. I've not
tried Arrays with JDBC yet, but I think we can fix this when we implement
ARRAY.

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


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

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: Help getting PostgreSQL data from Applix through ODBC
Следующее
От: "Stan Brown"
Дата:
Сообщение: Can;t connect to db with pgaccess