public ArrayList<Package> getAllPackages(Connection conn) {
        ArrayList<Package> packages = new ArrayList();
        PreparedStatement statement = null;
        Package p = null;
        int tjek = 0;
        int packNo = 0;
        String SQLString = "SELECT * FROM pakker NATURAL JOIN pakkedetails";
        try {
            statement = conn.prepareStatement(SQLString);
            ResultSet rs = statement.executeQuery();
            while (rs.next()) {
                p = getSinglePackages(packNo = rs.getInt(1), conn);
                if (packages.isEmpty()) {
                    packages.add(p);
                } else if (packages.get(tjek).getPackageNo() != p.getPackageNo()) {
                    packages.add(p);
                    tjek++;
                }
            }
        } catch (Exception e) {
            System.out.println("Fejl i TheMapper - getAllOrders");
        }
        return packages;
    }