ORA——00600错误的原因是:(Oracle中对clob类型字段的操作)
改正的代码如下:
//3.2生成数据插入语句 (增加的方式)
StringBuilder insertSql = new StringBuilder(“INSERT INTO “);
insertSql.append(tableName);
insertSql.append(” ( “);
StringBuilder paramSql = new StringBuilder(” values (”);
for(int i = 0 ; i < colList.size() ; i++){
if(i<(colList.size()-1)){
if(colList.get(i).toUpperCase().equals("ACCEPTLIST")){
insertSql.append(colList.get(i));
insertSql.append(",");
paramSql.append("empty_clob()");
paramSql.append(",");
}el