Subject | Re: [Firebird-Architect] Re: Indexed Views |
---|---|
Author | Dmitry Yemanov |
Post date | 2004-12-24T06:20:12Z |
"Jim Starkey" <jas@...> wrote:
same will happen for RETURNING. It's just must be described properly to
distinguish it from a generic INSERT.
Dmitry
>correctly,
> >Since Java can process input and output params (e.g. EXEC PROC)
> >it can process INSERT ... RETURNING as well. There's no difference here.So what? Now Roman can return one row resultset for EXEC PROC, right? The
>
> Not really. Updates are performed with java.sql.PreparedStatement. A
> program can set values in PreparedStatement, but fetching values is done
> through java.sql.ResultSet. The procedure execution mechanism uses a
> refinement of PreparedStatement, java.sql.CallableStatement, which does
> have provision to return a ResultSet.
same will happen for RETURNING. It's just must be described properly to
distinguish it from a generic INSERT.
Dmitry