File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Displaying records through result set meta data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Displaying records through result set meta data" Watch "Displaying records through result set meta data" New topic
Author

Displaying records through result set meta data

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 744
Hi,



All the things are wroking but the problem is that ArrayList is displaying just one record whereas I have more than 20 records to display. I tried with loop like: i<result.size(); and result.get(i) then its throwing exception


I stuck here for the last more than 2 days. Please help me

Best regards
>
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 41084
    
  29
What about some standard debugging information? Put some println statements into your loops, then you can see what is being retrieved.
 
Consider Paul's rocket mass heater.
 
subject: Displaying records through result set meta data