Jeff Verdegan wrote:
Mark Butcher wrote:
Now, how to convert oracle DATE into java.util.DATE to find the difference in days ?
There's no such thing as "convert oracle DATE into java.util.DATE to find the difference in days". At least, not without you making it.
There are two main parts to your question:
1) Convert oracle DATE into java.util.DATE. This is accomplished by calling ResultSet.getDate(...).
2) Find the difference between two dates. I believe that is answered in this thread.
So, what specifically are you having trouble with?