Fix compilation errors

This commit is contained in:
Andrea Boriero 2019-09-04 15:41:15 +01:00
parent 20f2002269
commit f4441e3664
1 changed files with 4 additions and 6 deletions

View File

@ -65,6 +65,7 @@ public abstract class SimpleValue implements KeyValue {
public static final String DEFAULT_ID_GEN_STRATEGY = "assigned";
private MetadataBuildingContext buildingContext;
private final MetadataImplementor metadata;
private final List<Selectable> columns = new ArrayList<>();
@ -106,16 +107,13 @@ public abstract class SimpleValue implements KeyValue {
this.table = table;
}
/**
* @deprecated Use {@link SimpleValue#SimpleValue(MetadataBuildingContext, Table)} instead.
*/
@Deprecated
public SimpleValue(MetadataBuildingContext buildingContext) {
this(buildingContext.getMetadataCollector());
this.buildingContext = buildingContext;
}
public SimpleValue(MetadataBuildingContext buildingContext, Table table) {
this.metadata = buildingContext.getMetadataCollector();
this( buildingContext );
this.table = table;
}