File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I retrieve date using rs.getDate() ?

 
Shounak Kundu
Ranch Hand
Posts: 60
IBM DB2 Eclipse IDE Fedora
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

here's my code ..

But it is not showing any date value.

How can I show that ?


 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe because of the extra space after JOBVALIDUPTO.
Change rs.getDate("JOBVALIDUPTO ") to rs.getDate("JOBVALIDUPTO")
 
Shounak Kundu
Ranch Hand
Posts: 60
IBM DB2 Eclipse IDE Fedora
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, my .... what a silly typing error. Thanks , the problem is solved....

Next time onwards, I will try to be a little more cautious while typing.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic