🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #867

Re: why my Resultset does not return result ?

#867
From: Tor Iver Wilhelmsen (TeamB)
Date: Thu, 10 Oct 2002 06:36
17 lines
1715 bytes
"andy" <andy@cpssoft.com> writes:

> my guess is if i want to get one row of my database ResultSet can
> not give the result but if i want to get, let say two or more row
> the ResultSet can.  And i do not know is this happen on Oracle
> Database or another Database.

If a JDBC query could not return one row in a ResultSet it wouldn't be
of much use... there is nothing that should prevent it from working if
the result is a single row.

> i suspicion in method ResultSet ".next()".

No, you need to call this at least once.

Have you checked the contents that the combination you send in
actually exists? That's the only possibility I see...
Technical Details
Message-ID: <uptui4x7n.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!teaser.fr!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3da3f303@newsgroups.borland.com> <ud6qjkddt.fsf@ergo.no> <3da4e649@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,2515be328748cddb
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-10-09 23:50:03 PST
Sender: towi@SDSA3850
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: why my Resultset does not return result ?
References: <3da3f303@newsgroups.borland.com> <ud6qjkddt.fsf@ergo.no> <3da4e649@newsgroups.borland.com>
From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB))
Date: 10 Oct 2002 08:36:12 +0200
Message-ID: <uptui4x7n.fsf@ergo.no>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 139.105.4.236
X-Trace: newsgroups.borland.com 1034231771 139.105.4.236 (9 Oct 2002 23:36:11 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!teaser.fr!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail