Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resultset return nothing?!

 
Be Khuong
Greenhorn
Posts: 9
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
rohit chavan
Ranch Hand
Posts: 132
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post what exactly you are doing, at least the query , so that we can help you.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Be!
 
Be Khuong
Greenhorn
Posts: 9
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank, i now solve problem!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic