public boolean saveNewItem(ArrayList<Item> newItem, Connection con) {

        boolean didItWork = true;
        String SQLString1 = "insert into varer values(?,?,?,?)";
        String SQLString2 = "select varerseq.nextval from dual";
        PreparedStatement statement = null;

        try {
            statement = con.prepareStatement(SQLString2);
            ResultSet rs = statement.executeQuery();
            if (rs.next()) {
                for (int j = 0; newItem.size() > j; j++) {
                    Item it = newItem.get(j);
                    it.setItemNo(rs.getInt(1));
                }

                statement = con.prepareStatement(SQLString1);
                for (int i = 0; i < newItem.size(); i++) {
                    Item ni = newItem.get(i);
                    statement.setInt(1, ni.getItemNo());
                    statement.setString(2, ni.getItemName());
                    statement.setInt(3, ni.getItemAmount());
                    statement.setInt(4, ni.getPrice());
                }

            }

            statement.executeUpdate();



        } catch (Exception e) {
            didItWork = false;
            System.out.println("Fejl i OrdreMapper - SaveNewProject");
            e.printStackTrace();
        }
        return didItWork;

    }