public void dbInsert(String SDA, String DN) {
        try {
            //System.err.println("DBThread Runs");
            Class.forName("com.mysql.jdbc.Driver");
            connect = DriverManager.getConnection("jdbc:mysql://localhost/cdr_data?user=root&password=root");
            preparedStatement = connect.prepareStatement("insert into dn_pattern values (?, ?)");
            preparedStatement.setString(1, DN);
            preparedStatement.setString(2, SDA);
            preparedStatement.executeUpdate();
        } catch (ClassNotFoundException | SQLException e) {
            e.printStackTrace();
        }
    }