Win a copy of Learn Spring Security (video course) this week in the Spring 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
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic