@@ -0,0 +1,1744 @@
+package info.tregmine.database.db;%0A%0Aimport info.tregmine.database.*;%0A%0Aimport java.sql.*;%0Aimport java.util.*;%0A%0Apublic class DBMiscDAO implements IMiscDAO%0A%7B%0A    private Connection conn;%0A%0A    public DBMiscDAO(Connection conn)%0A    %7B%0A        this.conn = conn;%0A    %7D%0A%0A    @Override%0A    public List%3CString%3E loadInsults() throws DAOException%0A    %7B%0A        // Structure: %5Bmessage_id, message_type (enum: 'INSULT','QUIT'), message_value%5D%0A        String sql = %22SELECT * FROM misc_message WHERE message_type = 'INSULT'%22;%0A        List%3CString%3E insults = new ArrayList%3CString%3E();%0A        %0A        try (PreparedStatement stmt = conn.prepareStatement(sql)) %7B%0A            stmt.execute();%0A            %0A            try (ResultSet rs = stmt.getResultSet()) %7B%0A                while (rs.next()) %7B%0A                    insults.add(rs.getString(%22message_value%22));%0A                %7D%0A            %7D%0A        %7D catch (SQLException e) %7B%0A            throw new DAOException(sql, e);%0A        %7D%0A        %0A        return insults;%0A    %7D%0A%0A    @Override%0A    public List%3CString%3E loadQuitMessages() throws DAOException%0A    %7B%0A        // Structure: %5Bmessage_id, message_type (enum: 'INSULT','QUIT'), message_value%5D%0A        String sql = %22SELECT * FROM misc_message WHERE message_type = 'QUIT'%22;%0A        List%3CString%3E messages = new ArrayList%3CString%3E();%0A        %0A        try (PreparedStatement stmt = conn.prepareStatement(sql)) %7B%0A            stmt.execute();%0A            %0A            try (ResultSet rs = stmt.getResultSet()) %7B%0A                while (rs.next()) %7B%0A                    messages.add(rs.getString(%22message_value%22));%0A                %7D%0A            %7D%0A        %7D catch (SQLException e) %7B%0A            throw new DAOException(sql, e);%0A        %7D%0A        %0A        return messages;%0A    %7D%0A%0A%7D%0A

Create DBMiscDAO.java