Fix compilation errors
This commit is contained in:
parent
20f2002269
commit
f4441e3664
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue