Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @SneakyThrows
- public SQLTable performQuery() {
- @Cleanup Connection conn = null;
- conn = getConnection();
- PreparedStatement ps = conn.prepareStatement("");
- @Cleanup ResultSet res = ps.executeQuery();
- while(res.next()) {
- }
- }
Add Comment
Please, Sign In to add comment