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 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
JavaRanch » Java Forums » Databases » JDBC
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: 742
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: 40052
    
  28
What about some standard debugging information? Put some println statements into your loops, then you can see what is being retrieved.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying records through result set meta data