This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get dynamic data from the oracle back end

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getting dynamic data from the oracle.

i want to make the below code as dynamic one. please help me.




insted of given the hard coded date i want to give the dynamic vaule.


thanks in advance,

rahul.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to use a PreparedStatement


This also has the advantage of not having to worry about the date format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic