This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes saving data in resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "saving data in resultset" Watch "saving data in resultset" New topic
Author

saving data in resultset

raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 60

Hi,

I need to pass a list of date values into query at 2 different locations for getting the count between the date range.I am facing trouble in passing them.The location denoting by xxx represents i need to pass the list of dates in list "dts" and the lcoation represented by yyyy represents the list of dates in list "dts2".

code :



i used the for loop befor the query start and executed the query.the query was succesful and with the print statements i got the correct results.however if i am trying to save the results in form beans, only the last value of the result set is being saved.i am not able to save all the rows data in form beans. Is there any orther way so that i can get all the dates passed to query and i could get all the data in resultsses? please suggest..!


Reagrds,
raj chopra
 
 
subject: saving data in resultset
 
Similar Threads
java date beginner question
Difference Between 2 Dates-Contributed by Hari Krishna Kumar @ Chennai
Calendar dates
Date and Calender help
Convert String to Date Issue