This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

In DB 1 row in resultset nothing  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1056
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

in my DB I have one row but when I execute it




thje resultset is empty
Aany idea, please?

Thanks
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*public.person* ? *I am not good at DB even in basic level* .. but my guess is that what is the public?
 
Isaac Ferguson
Ranch Hand
Posts: 1056
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is very basic

It is the name if the DB scheme

Thats correct
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The public.person seems ok if the public is the schema and person is the table. Did you run the query in the database?

Also how do you if the result set is empty? Did you check res.next()?
 
Campbell Ritchie
Sheriff
Posts: 54553
150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is public the name of the schema or the table? It is a poor name for either, by the way.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!