()
| 148 | } |
| 149 | |
| 150 | public void deleteAll() throws Exception { |
| 151 | Connection conn = ds.getConnection(); |
| 152 | |
| 153 | String sql = "delete from user_info "; |
| 154 | |
| 155 | PreparedStatement pstmt = conn.prepareStatement(sql); // SQL Injection공격, 성능향상 |
| 156 | pstmt.executeUpdate(); // insert, delete, update |
| 157 | } |
| 158 | |
| 159 | private void close(AutoCloseable... acs) { |
| 160 | for(AutoCloseable ac :acs) |
nothing calls this directly
no outgoing calls
no test coverage detected