public static String getColumnName(EntityOperator entityOperator, Class<?> clazz, PropertyDesc pd, NameConverter nameConverter){
        ColumnInfo column = entityOperator.getColumnInfo(clazz, pd, nameConverter);
        if(column != null){
            return column.name;
        } else {
            return nameConverter.propertyToColumn(pd.getPropertyName());
        }
    }
public static String getColumnName ( EntityOperator entityOperator , Class < ? > clazz , PropertyDesc pd , NameConverter nameConverter ) { ColumnInfo column = entityOperator . getColumnInfo ( clazz , pd , nameConverter ) ; if ( column != null ) { return column . name ; } else { return nameConverter . propertyToColumn ( pd . getPropertyName ( ) ) ; } }
Returns the column name from the property.
<p>
If the property has {@link Column} annotation then this method returns the annotated column name,
otherwise creates column name from the property name using {@link NameConverter}.

@param entityOperator the entity operator
@param pd the property
@param clazz the class
@param nameConverter the name converter

@return the column name