| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Dec 2007
Posts: 12
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1
|
How do i retrieve a whole row of data at once?
How do i retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX methods for each column?
|
|
|
|
|
|
#2 (permalink) |
|
Member
Join Date: Mar 2008
Posts: 32
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Re: How do i retrieve a whole row of data at once?
Hi Krishna,
you cannot retrieve complete row of data at once,ResultSet.getXXX() is the only way to fetch data from ResultSet object. Comments are welcome. Thanks&Regards, R.P.Karunakaran. |
|
|
|
|
|
#4 (permalink) |
|
Member
Join Date: Oct 2006
Posts: 66
Thanks: 2 Thanked 1 Times in 1 Posts Thanks: 2
Thanked 1 Time in 1 Post
Rep Power: 3
|
Re: How do i retrieve a whole row of data at once?
Hi Dudes,
U can fetch a entire row using ResultSet.getRow() method , refer the documents or API once .... If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on. ..... Regards Hari
__________________
Thanks HAri |
|
|
|
|
|
#5 (permalink) |
|
Junior Member
Join Date: Dec 2007
Posts: 12
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Re: How do i retrieve a whole row of data at once?
getRow() method of ResultSet returns the row number not the data of entire row.
if u have any doubts just check API. With Regards SRK |
|
|
|
|
|
#6 (permalink) |
|
Junior Member
Join Date: Apr 2008
Location: Pune
Age: 25
Posts: 8
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Re: How do i retrieve a whole row of data at once?
U can fetch Entire row using ResultSet.getRow() method , refer the documents or API once ....
If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mega Free Download S/W Links A-Z | yathish | OTHERS | 513 | 30-09-08 02:49 PM |
| FAQS | cena | Testing Tools & QA | 0 | 24-02-08 02:38 AM |
| ORACLE placement paper 7 | sridhar | ORACLE Placement Papers | 0 | 09-02-07 06:44 PM |
| Data Warehousing and Online Analytical Processing | kiran2710 | OTHERS | 0 | 07-02-07 05:08 PM |
| hi... | gomesh_2k6 | VB / ASP.NET Technologies | 2 | 30-09-06 02:20 PM |