Re: "No results were returned by the query" exception
От | Dave Cramer |
---|---|
Тема | Re: "No results were returned by the query" exception |
Дата | |
Msg-id | 027401c1d19c$2ddcc130$807ba8c0@inspiron обсуждение исходный текст |
Ответ на | Re: "No results were returned by the query" exception (tony <tony@animaproductions.com>) |
Список | pgsql-jdbc |
Tony, The new jar should have fixed that. If the resultset was null, the driver didn't handle it very well. This is different from the "No results from query exception" Dave > -----Original Message----- > From: pgsql-jdbc-owner@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of tony > Sent: Friday, March 22, 2002 6:58 AM > To: Dave@micro-automation.net > Cc: pgsql-jdbc@postgresql.org > Subject: Re: [JDBC] "No results were returned by the query" exception > > > On Fri, 2002-03-22 at 11:35, Dave Cramer wrote: > > > What does JSP have to do with it? Please explain? > > > > I don't know. Maybe it is the Ultradev code I am using (?) > but if a result set is empty then a nullpointer exception is > returned every time. > > Even for select * from foo where bar = '1' > > If bar has no value of 1 then error not a nice blank page. I > am almost sure that back with the 7.0 version that was not the case. > > Cheers > > Tony > > -- > RedHat Linux on Sony Vaio C1XD/S > http://www.animaproductions.com/linux2.html > Macromedia > UltraDev with PostgreSQL http://www.animaproductions.com/ultra.html > > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to > majordomo@postgresql.org > >
В списке pgsql-jdbc по дате отправления: