code: public int deleteByIdCascade(Long id) throws SQLException {
  		int count = 0;
  		if (id != null) {
  			SpatialReferenceSystem srs = queryForId(id);
  			if (srs != null) {
  				count = deleteCascade(srs);
  			}
  		}
  		return count;
  	}
docs: Delete a Spatial Reference System by id, cascading
  
  @param id
  id
  @return deleted count
  @throws SQLException
  upon deletion failure