This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Resultset return nothing?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Resultset return nothing?!" Watch "Resultset return nothing?!" New topic
Author

Resultset return nothing?!

Be Khuong
Greenhorn

Joined: Mar 31, 2012
Posts: 9

Hello, everyone!
I have a table that include: ID, Name, Age... so i want resultset return all of data from ID colum into array that i can get them by: str = arr[0], str_2 = arr[1]... But the thing i got is the number of all row, so please help me.


Java SE, Java EE, NetBeans IDE, Eclipse IDE
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 484

Be Khuong wrote:Hello, everyone!
I have a table that include: ID, Name, Age... so i want resultset return all of data from ID colum into array that i can get them by: str = arr[0], str_2 = arr[1]... But the thing i got is the number of all row, so please help me.


Please post your code here! Can't help for such limited information.


PM Me If You Want to get Urgent Help on Java Programming
rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 131

Post what exactly you are doing, at least the query , so that we can help you.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3433
    
  47

Welcome to the Ranch, Be!
Be Khuong
Greenhorn

Joined: Mar 31, 2012
Posts: 9

Thank, i now solve problem!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resultset return nothing?!
 
Similar Threads
Very Interesting Question
Check All / UnCheck All
Problem with hash map
Sort the Array in reverse order
Largest/Greatest of n numbers