This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving data in resultset

 
raj chopra
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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..!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic