• Post Reply Bookmark Topic Watch Topic
  • New Topic

ResultSet Problem!!!

 
gokul krishna
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I i have one table say "A". It has one record.
i tried to execute the rs.next(). It is not returning me that one record.
I dont know what is the reason behind this?
The same query i am executing in the sql prompt, it returns me one record.
Can any one pls help me to resolve this problem?
Thanks,
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, gokul krishna!
What does your code look like?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!