FileDocCategorySizeDatePackage
TestThinPerfDeleteRow.javaAPI DocExample586Mon Apr 23 18:19:20 BST 2001None

TestThinPerfDeleteRow

public class TestThinPerfDeleteRow extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

  long startTime; 
  long stopTime;
  DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
  Connection conn = 
   DriverManager.getConnection("jdbc:oracle:thin:@dssnt01:1521:dssora01","scott","tiger");
  conn.setAutoCommit(false);
  Statement stmt = conn.createStatement();
  stmt.executeUpdate("delete testxxxperf where id = 1");
  conn.commit(); 
  stmt.close();
  conn.close();