JDBC and composite types

Поиск
Список
Период
Сортировка
От Marcin Gala
Тема JDBC and composite types
Дата
Msg-id 464EDE37.8060201@siec.mine.nu
обсуждение исходный текст
Ответы Re: JDBC and composite types
Список pgsql-jdbc
Could anyone tell me, how to read table's columns that are of composite
type? I was trying to use getObject with different types of casting,
however nothing worked :( Also getString doesn't give me a string
representation of type...

My type is:

CREATE TYPE forwarding_number AS
  (always number_type,
   busy number_type,
   "notResponding" number_type,
   "notLogged" number_type);

I'm trying to get data from  table X where column y is of type
forwarding_number.

Marcin

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

Предыдущее
От: Vincent Lasmarias
Дата:
Сообщение: Insert (or update) to a partitioned table returns 0 rows updated
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC and composite types