java.sql.SQLException: ORA-00911: 无效字符 解决方法
来源:互联网 发布:淘宝业务员主要做什么 编辑:程序博客网 时间:2024/06/05 09:39
如果你用java写程序访问数据库,出现这个问题:
java.sql.SQLException: ORA-00911: 无效字符
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
java.sql.SQLException: ORA-00911: 无效字符
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatement.java:4051)
原因是:你的sql多了一个";" 去掉就可以了
0 0
- java.sql.SQLException: ORA-00911: 无效字符 解决方法
- java.sql.SQLException: ORA-00911: 无效字符 解决方法
- java.sql.SQLException: ORA-00911: 无效字符 解决方法
- java.sql.SQLException: ORA-00911: 无效字符 解决方法
- for:java.sql.SQLException: ORA-00911: 无效字符 解决方法
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符
- Cause: java.sql.SQLException: ORA-00911: 无效字符
- java.sql.SQLException: ORA-00911: 无效字符 解决方案
- java.sql.SQLException: ORA-00911: 无效字符 异常解除
- oracle数据库java.sql.SQLException: ORA-00911: 无效字符解决方案
- 纪录片:互联网之子 亚伦·斯沃茨的故事
- linux 系统下如何进行用户之间的切换
- maven的使用
- 命令行输出php 并传递参数
- Android常见问题之三
- java.sql.SQLException: ORA-00911: 无效字符 解决方法
- JavaScript定时器原理分析
- 《重构》-2-重构原则-读书笔记
- 将一个activity中得到的结果返回给原来的activity
- 35. Search Insert Position
- Android Drawable、Bitmap、byte[]之间的转换
- kail下开启ssh
- 鼠标移动事件小案例
- 终端下运行python文件的方法