public void addGroopsAndPersonnel(int trackNumber, Track toAdd) throws SQLException
   {

      // Now do the personnel
      int[] artNums = GetArtists.create().addArtists(toAdd.getPersonnel());

      // Add the entries in the personnel table
      PreparedStatement ps = Connect.getConnection().getPreparedStatement(
            "INSERT INTO Personnel (ArtistNumber,TrackNumber) VALUES (?,?)");
      for (int artNum : artNums)
      {
         ps.setInt(1, artNum);
         ps.setInt(2, trackNumber);
         ps.addBatch();
      }
      ps.executeBatch();

      // Now add the groups
      Iterator<LineUp> grIt = toAdd.getLineUps().iterator();
      while (grIt.hasNext())
         addLineUp(trackNumber, grIt.next());
   }