File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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: 33671
316
Eclipse IDE Java VI Editor
  • 0
  • 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