Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Implicit conversion from datatype 'INT' to 'CHAR' is not allowed  RSS feed

 
vysh sri
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using sybase database. when trying to call a stored procedure, it throws this error. Below is my java code snippet and the error msg



My SP accepts a char



Below is the error trace


How can i give the input to my stored procedure as a char?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!