Thread: Custom types and JDBC

Custom types and JDBC

From
mephysto
Date:
Hi,
I would use custom types in several stored functions and I would my sotred
function return these custom types.
I would launch stored functions and retrieve results by JDBC interface: is
it possible to map postgres custom types to java objects without resultset
use?

Thanks in advance.

Meph

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

Re: Custom types and JDBC

From
Dave Cramer
Date:
Hi,

As I said there is no way to get data back without using the result
set. You can get data back from your stored function though in a
result set.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca




On Thu, May 12, 2011 at 3:29 AM, mephysto <gennaria@email.it> wrote:
> Hi,
> I would use custom types in several stored functions and I would my sotred
> function return these custom types.
> I would launch stored functions and retrieve results by JDBC interface: is
> it possible to map postgres custom types to java objects without resultset
> use?
>
> Thanks in advance.
>
> Meph
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Custom-types-and-JDBC-tp4389512p4389512.html
> Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>