Advertisement
VoronVU

Untitled

Jan 20th, 2016
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. Statement stmt = conn.createStatement();
  2. for (int i = 0; i < 10000; i++) {
  3.     ResultSet rs = stmt.executeQuery("select pid from people where pid =" + i ) ;
  4.     stmt.close();
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement