Re: modification required to pass Sun's CTS - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: modification required to pass Sun's CTS
Date
Msg-id 429E6208.4040001@opencloud.com
Whole thread Raw
In response to Re: modification required to pass Sun's CTS  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: modification required to pass Sun's CTS
List pgsql-jdbc
Dave Cramer wrote:

>                         cstmt = conn.prepareCall("{call Numeric_Proc
> (?,?,?)}");
>
>                         msg.setMsg("Register the output parameter");
>                         cstmt.registerOutParameter
> (1,java.sql.Types.NUMERIC,15);
>                         cstmt.registerOutParameter
> (2,java.sql.Types.NUMERIC,15);
>                         cstmt.registerOutParameter
> (3,java.sql.Types.NUMERIC,15);
>
>                         msg.setMsg("execute the procedure");
>                         cstmt.executeUpdate();

Ok, so that is exactly the case I was talking about, a procedure that
doesn't return a value or resultset, but has OUT parameters. We should
mask the resultset we get from the backend in this case as it's just an
implementation detail of our OUT mechanism. (i.e. executeUpdate() does
not complain, executeQuery() does complain, etc)

-O

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: modification required to pass Sun's CTS
Next
From: Giuseppe Sacco
Date:
Subject: italian translation