code: @Override
  	public int delete(MetadataReference metadataReference) throws SQLException {
  
  		DeleteBuilder<MetadataReference, Void> db = deleteBuilder();
  
  		setFkWhere(db.where(), metadataReference.getFileId(),
  				metadataReference.getParentId());
  
  		int deleted = db.delete();
  
  		return deleted;
  	}
docs: {@inheritDoc}
  
  Delete using the foreign key columns