java.sql.SQLException: ORA-24801: illegal parameter value in OCI lob function

Oracle Community | FSteelman | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ORA-24801: illegal parameter value in OCI lob function JMS error

    Oracle Community | 9 years ago | FSteelman
    java.sql.SQLException: ORA-24801: illegal parameter value in OCI lob function
  2. 0

    JMS-122: Internal error Text payload does not m... | Oracle Community

    oracle.com | 2 years ago
    java.sql.SQLException: OCI-01858: a non-numeric character was found where a numeric was expected
  3. 0

    JMS-122: Internal error Text payload does not match text length

    Oracle Community | 1 decade ago | 405435
    java.sql.SQLException: OCI-01858: a non-numeric character was found where a numeric was expected
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.sql.SQLException: No value specified for parameter 1解决办法_IT知识问答_希赛网

    educity.cn | 2 years ago
    java.sql.SQLException: No value specified for parameter 1 代码如下 public boolean login(UserInfo user)throws Exception{ //用户登录 boolean flag=false; int userNo=Integer.parseInt(user.getUserNo()); String password=user.getPassword(); //测试是否从现在的user对象中取到了值 System.out.println(userNo+"我是USER对象的userNo"); System.out.println(password+"我是USER对象的password"); DatabaseConnection dbc=new DatabaseConnection();//取得数据库连接和关闭对象; try{ String sql="SELECT userNo FROM userInfo where userNo= and password= "; this.conn=dbc.getConnection(); this.pst=conn.prepareStatement(sql); //this.pst.setInt(1, userNo);//给sql中参数赋值 this.pst.setLong(1, userNo); this.pst.setString(2, password); ResultSet rs=pst.executeQuery(); if(rs.next()){//传入用户账号和对应的密码都存在时为真 flag=true; System.out.println(rs.getString(userNo)+"我是从数据库里取出来的"); System.out.print(flag+"测试flag");//测试flag,看是否进入了if里面,true则进入了 rs.close(); } }catch(Exception e){ e.printStackTrace(); }finally{ if(this.pst!=null){ this.pst.close(); } this.conn.close(); } return flag; } 报的错误信息如:
  6. 0

    java.sql.SQLException: No suitable driver - Toolbox for IT Groups

    ittoolbox.com | 8 months ago
    java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager .java:545) at java.sql.DriverManager.getConnection(DriverManager .java:171) at com.stc.sql.framework.jdbc.DBConnectionFactory.cre ateConnection(DBConnectionFactory.java:372) at com.stc.sql.framework.jdbc.DBConnectionFactory.get Connection(DBConnectionFactory.java:281) at com.stc.etl.engine.impl.SimpleTask.getConnection(S impleTask.java:254) at com.stc.etl.engine.impl.Extractor.getSelectData(Ex tractor.java:376) at com.stc.etl.engine.impl.Extractor.process(Extracto r.java:190) at com.stc.etl.engine.impl.ETLTaskThread.run(ETLTaskT hread.java:147)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      ORA-24801: illegal parameter value in OCI lob function

      at oracle.jms.AQjmsConsumer.ocideq()
    2. oracle.jms
      AQjmsConsumer.receive
      1. oracle.jms.AQjmsConsumer.ocideq(Native Method)
      2. oracle.jms.AQjmsConsumer.syncedOCIDeq(AQjmsConsumer.java:2784)
      3. oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:1590)
      4. oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:916)
      5. oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:835)
      6. oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:776)
      6 frames
    3. oracle.j2ee.ra
      WorkConsumer.run
      1. oracle.j2ee.ra.jms.generic.WorkConsumer.doReceive(WorkConsumer.java:1045)
      2. oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:242)
      2 frames
    4. oracle.j2ee.connector
      WorkWrapper.run
      1. oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
      2. oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
      3. oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
      3 frames
    5. Dough Lea's util.concurrent package
      PooledExecutor$Worker.run
      1. EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame