I AM using derby database. I created my Table with columns
Varchar varchar Integer Integer
MealID MealName Price Quantity
Everything works fine when updating string but I cannot update either quantity nor price even though I convert it from String to integer..
HELP PLEASE..! THE image tell everything.. enter image description here
you say mealId is varchar but you may set Integer,i cant see your code s2 referance, can you try to parse s2 variable Integer as String?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.