code: private static String getColumnName(ColumnAnn ann, Field field) {
  		String name = ann.name;
  		if (isEmpty(name)) {
  			name = field.getName();
  			if (isEntity(field.getType()) && !name.endsWith(ID_AFFIX)) {
  				name += ID_AFFIX;
  			}
  		}
  		return name;
  	}
docs: SQL