Topic: java.lang.NumberFormatException: For input string: ""

  Print this page

1.java.lang.NumberFormatException: For input string: "" Copy to clipboard
Posted by: oraliy
Posted on: 2006-12-18 20:20

在java程序中
db.executeProcedure("cp_test",htParam)时报错
java.lang.NumberFormatException: For input string: ""

请问如何处理?sos

2.Re:java.lang.NumberFormatException: For input string: "" [Re: oraliy] Copy to clipboard
Posted by: oraliy
Posted on: 2006-12-19 11:23

以上问题是由于我在为空的字段(属性为int)忘记select 语句加nvl了,现在加上了,反错为:
literal does not match format string

不知如何处理,谢谢!

3.Re:java.lang.NumberFormatException: For input string: "" [Re: oraliy] Copy to clipboard
Posted by: why
Posted on: 2006-12-19 19:43

Could you show us your stored proc?
Is there a to_date conversion?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923