@Override
    protected void appendAsColumnName(Path<?> path, boolean precededByDot) {
        if (path.getAnnotatedElement().isAnnotationPresent(Column.class)) {
            Column column = path.getAnnotatedElement().getAnnotation(Column.class);
            if (!column.name().isEmpty()) {
                append(getTemplates().quoteIdentifier(column.name(), precededByDot));
            } else {
                super.appendAsColumnName(path, precededByDot);
            }
        } else {
            super.appendAsColumnName(path, precededByDot);
        }
    }
{@code NativeSQLSerializer} extends {@link SQLSerializer} to extract referenced entity paths and change
some serialization formats

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/NativeSQLSerializer.java