我们如何解决一个"列表中最大数量的表达式是1000"使用batchUpdate时遇到使用ArrayDescriptor
?
ArrayDescriptor oracleCollection = ArrayDescriptor
.createDescriptor(oracleType, connection);
stmt = connection.prepareStatement(sql);
stmt.setFetchSize(FETCH_SIZE);
ARRAY jdbcArray = new ARRAY(oracleCollection, connection, array);
stmt.setObject(1, jdbcArray);
result = stmt.executeQuery();