Searching system

This commit is contained in:
2025-06-08 14:21:09 +03:30
parent 7a7141866e
commit fe6d565fd6
5 changed files with 140 additions and 134 deletions
@@ -55,6 +55,8 @@ public class GroupDatabase {
try (Connection conn = ConnectionDb.connect();
PreparedStatement stmt = conn.prepareStatement(sql)) {
stmt.setString(1, "%" + keyword + "%");
stmt.setString(2, keyword);
ResultSet rs = stmt.executeQuery();
while (rs.next()) {
Group group = new Group(