code: private <T> int updateForDelete(T t) throws NullKeyValueException {
  
  		if(DOInfoReader.getNotKeyColumns(t.getClass()).isEmpty()) {
  			return 0; // not need to update
  		}
  
  		List<Object> tList = new ArrayList<Object>();
  		tList.add(t);
  
  		List<Object> values = new ArrayList<Object>();
  		String sql = SQLUtils.getUpdateSQL(t, values, false, null);
  
  		int rows = 0;
  		if (sql != null) {
  			rows = namedJdbcExecuteUpdate(sql, values.toArray());
  		}
  
  		return rows;
  	}
docs: //////