Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Statement stmt = conn.createStatement();
- for (int i = 0; i < 10000; i++) {
- ResultSet rs = stmt.executeQuery("select pid from people where pid =" + i ) ;
- stmt.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement