Re: The column name <col> was not found in this ResultSet
От
Zsolt Kúti
Тема
Re: The column name <col> was not found in this ResultSet
Дата
Msg-id
20121116081623.4d451b23@kuti-zsolt.intranet.prolan.hu
Ответ на
Re: The column name <col> was not found in this ResultSet (David Johnston)
Список
Дерево обсуждения
The column name <col> was not found in this ResultSet Zsolt Kúti <kuti.zsolt@prolan.hu>
Re: The column name <col> was not found in this ResultSet "David Johnston" <polobo@yahoo.com>
Re: The column name <col> was not found in this ResultSet Zsolt Kúti <kuti.zsolt@prolan.hu>
Re: The column name <col> was not found in this ResultSet Craig Ringer <craig@2ndQuadrant.com>
Re: The column name <col> was not found in this ResultSet Zsolt Kúti <kuti.zsolt@prolan.hu>
Thu, 15 Nov 2012 17:19:51 -0500 -n
David Johnston írta:
> > In a query like this:
> > select * form T1 a, T2 b where a.id='xx' and a.id=b.id
> >
> > calling the result set:
> > rs.getString("o.id") <<<<<<<<<<<<<<<<<<<<< "o" is neither "a"
> > nor "b"
Hello David,
Information has distorted while I tried to simplify presenting my case.
rs.getString("o.id") must be read as rs.getString("a.id")
Sorry for the confusion.
Enumeration all the fields needed after the SELECT works around,
but it is rather tedious for 30+ fields.
Zsolt
В списке pgsql-jdbc по дате отправления
От: David Johnston
Дата: