Обсуждение: PreparedStatement.getMetaData() and Creator

Поиск
Список
Период
Сортировка

PreparedStatement.getMetaData() and Creator

От
Jeremiah Jahn
Дата:
I got the following reply as to why the postgresql jdbc drivers won't
work with Sun Studio creator.

>We just tested postgresql in house and found that the driver is
>returning null for PreparedStatement.getMetaData()

-sun

I was wondering if anything was being worked on in this area, or if
there is a plan to do so.

-jj-


--
Jeremiah Jahn <jeremiah@cs.earlham.edu>


Re: PreparedStatement.getMetaData() and Creator

От
Kris Jurka
Дата:

On Thu, 29 Jul 2004, Jeremiah Jahn wrote:

> >We just tested postgresql in house and found that the driver is
> >returning null for PreparedStatement.getMetaData()
>

It may be possible to do that now.  Previously PreparedStatements were
implemented by doing the substitution on the driver side and sending the
full query to the backend, so the only way to get the metadata was to
actually run the query.  With the new V3 protocol support it seems
possible to issue Parse and Describe messages without issuing Bind or
Execute.

Kris Jurka