Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PreparedStatement pStmt = connection.prepareStatement(
- "update links set processed = ? where href = ?"
- );
- pStmt.setBoolean(1, true);
- pStmt.setString(2, link);
- pStmt.execute();
- connection.commit();
- if(pStmt != null) {pStmt.close();}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement