{"hidden":false,"children":[{"configs":{"serverScript":"//基于演示目的，不使用批处理，批处理具有更高效率\nvar current = java.lang.System.currentTimeMillis,\n  start = current(),\n  i, statement, connection = DbUtil.getConnection();\ntry {\n  statement = connection.createStatement();\n  statement.executeUpdate('truncate table WB_PAGING');\n  for (i = 1; i < 1001; i++)\n    statement.executeUpdate('insert into WB_PAGING values(' + i + ')');\n} finally {\n  DbUtil.close(statement);\n  DbUtil.close(connection);\n}\napp.send(String(current() - start));","itemId":"module"},"expanded":false,"children":[],"type":"module"}],"roles":{},"title":"插入1000条记录","iconCls":"","inframe":false,"pageLink":""}