MCPcopy Create free account
hub / github.com/castello/spring_basic / deleteAll

Method deleteAll

ch4/UserDaoImpl.java:127–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 @Override
128 public void deleteAll() throws Exception {
129 try (Connection conn = ds.getConnection();)
130 {
131 String sql = "DELETE FROM user_info ";
132 PreparedStatement pstmt = conn.prepareStatement(sql);
133 pstmt.executeUpdate();
134 }
135 }
136}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected