Skip to content
Snippets Groups Projects

Correction sur nom de colonnes identiques dans create view

Merged Philippe Tcherniatinsky requested to merge Prefix_fields_in_view into master
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -289,7 +289,6 @@ public class RelationalService implements InitializingBean, DisposableBean {
String referenceType = entry.getKey();
Set<String> columns = entry.getValue().getColumns().keySet();
String columnsAsSchema = columns.stream()
.map(ident->referenceType+"_"+ident)
.map(this::quoteSqlIdentifier)
.map(quotedColumnName -> quotedColumnName + " text")
.collect(Collectors.joining(", ", "(", ")"));
Loading