Re: Custom types and JDBC

Поиск
Список
Период
Сортировка
От mephysto
Тема Re: Custom types and JDBC
Дата
Msg-id 1305126218926-4387604.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Custom types and JDBC  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: Custom types and JDBC
Re: Custom types and JDBC
Список pgsql-general
Mmmmm no,
my goal is for example:  define a typeFoo (id as int, name as varchar) in
postgres, define an object in java objFoo (id as int, name string), define a
stored function in posgres return a typeFoo


create ora replace function getFoo() returns typeFoo as
$$
begin
......
end;
$$

I would to connect postgres by jdbc and call stored function getFoo. A this
poin I would set properties of objFoo (id and name) with id and name
retrieved from stored function.

Is resultset the only way to achieve this goal?

Thanks.

Meph

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Custom-types-and-JDBC-tp4387382p4387604.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: Stanislav Raskin
Дата:
Сообщение: Re: full text search to_tsquery performance with ispell dictionary
Следующее
От: tv@fuzzy.cz
Дата:
Сообщение: Re: full text search to_tsquery performance with ispell dictionary