ORA-01008 not all variables bound  Cause A SQL statement containing substitution variables was executed without all variables bound. All substitution variables must have a substituted value before the SQL statement is executed.  
Action In OCI, use an OBIND or OBINDN call to substitute the required values.  

解决方案 »

  1.   

    请教blessfory:
        我已经确定需要插入的值的类型,大小都符合数据库里面的要求,并且肯定不为空,但仍然是报相同的错误:java.sql.SQLException: ORA-01008: 并非所有变量都已关联。
        当插入的值(都是人名,数据库里类型大小都一样)的个数增加到9个时,报的错误变化:
        ORA-01438: 值大于此列指定的允许精确度。
      

  2.   

    表上是不是有trigger?单看sql没问题