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