Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Database/JDBC/SQL/JDO/Hibernate » Oracle  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 java.lang.NumberFormatException: For input string: ""
oraliy





发贴: 2
积分: 0
于 2006-12-18 20:20 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在java程序中
db.executeProcedure("cp_test",htParam)时报错
java.lang.NumberFormatException: For input string: ""

请问如何处理?sos



作者 Re:java.lang.NumberFormatException: For input string: "" [Re:oraliy]
oraliy





发贴: 2
积分: 0
于 2006-12-19 11:23 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
以上问题是由于我在为空的字段(属性为int)忘记select 语句加nvl了,现在加上了,反错为:
literal does not match format string

不知如何处理,谢谢!



作者 Re:java.lang.NumberFormatException: For input string: "" [Re:oraliy]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2006-12-19 19:43 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Could you show us your stored proc?
Is there a to_date conversion?




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

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