@Override
	public boolean addAll(Collection<? extends T> collection) {
		boolean changed = false;
		for (T data : collection) {
			try {
				if (addElement(data)) {
					changed = true;
				}
			} catch (SQLException e) {
				throw new IllegalStateException("Could not create data elements in dao", e);
			}
		}
		return changed;
	}
@ Override public boolean addAll ( Collection < ? extends T > collection ) { boolean changed = false ; for ( T data : collection ) { try { if ( addElement ( data ) ) { changed = true ; } } catch ( SQLException e ) { throw new IllegalStateException ( "Could not create data elements in dao" , e ) ; } } return changed ; }
Add the collection of elements to this collection. This will also them to the associated database table.

@return Returns true if any of the items did not already exist in the collection otherwise false.