Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ORA-01858: a non-numeric character was found where a numeric was expected

 
Pavan Kumar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am facing problem ,while executing stored procedure,I am sending date as java.sql.Date.valueOf("2003-12-19"). It is giving following error
a non-numeric character was found where a numeric was expected.
how to solve this problem?
regards
Hari.
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
since there is nothing wrong with the code you have posted, it is best that you post the Exception message, stack trace, a small code snippet that includes the Callable statement and relevant JDBC code as well as identifying the line throwing the exception. Help us help you!
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic