Re: Custom types and JDBC

From: mephysto <gennaria(at)email(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom types and JDBC
Date: 2011-05-11 15:03:38
Message-ID: 1305126218926-4387604.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tv 2011-05-11 15:04:50 Re: full text search to_tsquery performance with ispell dictionary
Previous Message Stanislav Raskin 2011-05-11 14:49:55 Re: full text search to_tsquery performance with ispell dictionary