当前位置:  数据库>oracle

ORA-01461错误解决

    来源: 互联网  发布时间:2017-06-13

    本文导语: ORA-01461错误解决方法: ORA-01461: can bind a LONG value only for insert into a LONG column原来是用weblogic的连接池,没有问题。转为tomcat或直接jdbc调用,报错。原因:使用了ojdbc14.jar,更新为ojdbc6即可。weblogic连接池是不用WEB-INF下的lib的ojdbc.jar...

ORA-01461错误解决方法:

ORA-01461: can bind a LONG value only for insert into a LONG column
原来是用weblogic的连接池,没有问题。
转为tomcat或直接jdbc调用,报错。
原因:使用了ojdbc14.jar,更新为ojdbc6即可。weblogic连接池是不用WEB-INF下的lib的ojdbc.jar的。

详细错误信息:
DEBUG SQL execute time: 0.0s
DEBUG SQL update TF_SP_USER_PERSON set ADDRESS = ?,CERTIFICATE_NO = ?,CERTIFICATE_TYPE = ?,CREATE_TIME = ?,CUST_LEVEL = ?,CUST_NO = ?,CUST_RISK = ?,HEAD_FILE_ID = ?,IS_FUND_FLAG = ?,MOBILE_PHONE = ?,PERSON_NAME = ?,POST_CODE = ?,RISK_END_DATE = ?,SP_USER_ID = ?,SP_USER_NAME = ?,UPDATE_TIME = ? where SP_USER_ID = ?
DEBUG PARAM [佛山, 441422199108292310, 0, 2015-01-23 17:14:45.0, null, 31507,  , null, 1, 1868880XXXX, 桂强, 528000,        , 1000139, 桂强, 2015-01-28 16:07:08.0, 1000139]
ERROR ERROR SQL update TF_SP_USER_PERSON set ADDRESS = ?,CERTIFICATE_NO = ?,CERTIFICATE_TYPE = ?,CREATE_TIME = ?,CUST_LEVEL = ?,CUST_NO = ?,CUST_RISK = ?,HEAD_FILE_ID = ?,IS_FUND_FLAG = ?,MOBILE_PHONE = ?,PERSON_NAME = ?,POST_CODE = ?,RISK_END_DATE = ?,SP_USER_ID = ?,SP_USER_NAME = ?,UPDATE_TIME = ? where SP_USER_ID = ?
org.apache.tapestry.ApplicationRuntimeException: Unable to invoke method personLogin on com.company.thfund.view.Login$Enhance_1@627bc7[thfund.Login]: null
at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:283)
at org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46)
at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97)
at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102)
at com.company.webframework.tapestry.components.ajaxComponent.MappService.service(MappService.java:78)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.company.filter.RightFilter.doFilter(RightFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.company.filter.AutoLoginFilter.doFilter(AutoLoginFilter.java:56)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.company.filter.security.xss.XSSSecurityFilter.doFilter(XSSSecurityFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257)
... 30 more
Caused by: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column


at Oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:543)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at com.company.dbframework.jdbc.ParameterStatement.executeUpdate(ParameterStatement.java:99)
at com.company.dbframework.jdbc.DaoManager.executeUpdate(DaoManager.java:244)
at com.company.dbframework.jdbc.DaoManager.update(DaoManager.java:989)
at com.company.dbframework.jdbc.DaoManager.save(DaoManager.java:1319)
at com.company.dbframework.jdbc.DaoManager.save(DaoManager.java:1274)
at com.company.dbframework.jdbc.DaoManager.save(DaoManager.java:1235)
at com.company.dbframework.jdbc.DaoManager.save(DaoManager.java:1246)
at com.company.thfund.bean.register.RegisterDAO.updatePerson(RegisterDAO.java:50)
at com.company.thfund.bean.login.LoginBean.modifyPersonInfo(LoginBean.java:243)
at com.company.thfund.view.Login.personLogin(Login.java:99)
... 35 more
ERROR execute failed, rollback...sdcen1

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

Oracle性能优化 之 共享池


    
 
 

您可能感兴趣的文章:

  • 出现ORA-01401和ORA-01008错误?
  • Eclipse连接Oracle数据库的ORA-00604 ORA-12705错误
  • oracle ORA-01114、ORA-27067错误解决方法
  • Oracle不能删除表 ORA-00604 ORA-01422 错误
  • ORA-12514及ORA-28547错误解决方案
  • plsql连接oracle数据库报ora 12154错误解决方法
  • oracle 11g导出数据时报ORA 1455错误的处理方法
  • Oracle 数据库闪回功能设置出现ORA-19809和ORA-19804错误
  • 为什么我读取数据库时出现:ORA-00600: 内部错误代码,参数: [ttcgcshnd-1], [0], [],错误?
  • ORACLE出现错误1033和错误ORA-00600的解决方法
  • Linux 下数据库oracle出现ORA-27102错误的解决办法
  • PHP连接Oracle错误ORA-24324服务句柄未初始化的解决方法
  • Orcle的package中访问其它Schema的表报错ORA-00942解决方法
  • oracle远程连接服务器出现 ORA-12170 TNS:连接超时 解决办法
  • 解决报错ora-32035的方法分析
  • 基于ORA-12170 TNS 连接超时解决办法详解
  • 安装oracle出现error:ora-01031:insufficient privilleges的解决
  • zilong28提问:Tomcat3.2报错内容是Error occurs when connecting DB: ORA-00020: maximum number of processes(59) exceeded 我应该如何解决,先谢了
  • ORA-28002 Oracle 11g存在密码过期问题解决方案
  • Oracle ORA-22908(NULL表值的参考)异常分析与解决方法
  • 如何解决ORA-01843与NLS_DATE_FORMAT问题
  •  
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 如何得到带有ora的行的下一行
  • 如何配置 linux 下 oracle 的 listener .ora 和
  • 浅析如何在tnsnames.ora中配置监听
  • [Oracle] 浅析令人抓狂的ORA-01555问题
  • aq.executeQuery: ORA-00020: maximum number of processes (59) exceeded
  • ORA-00947:Not enough values (没有足够的值)的深入分析
  • solaris10 安装 ora9.2.0.1 时报错
  • 在UNIX下,我的ORA817该怎么样才可以自己启动呀?
  • 谁能帮忙解释一下: ORA-01000 : maximun open cursors exceeded
  • 关于Oracle游标的问题(ORA-01000: maximum open cursors exceeded)
  • 我在Linux7。3下面装了一个Oracle8i,但是现在启动不起来了,总是报错ORA-01031: insufficient privileges
  • oracle报错(ORA-00600)问题处理
  • Oracle 10g之ORA-32004问题
  • 在客户端配置TNS测试报错ORA-12170:TNS:连接超时


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,