Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,16 @@ public CompositeNestedGeneratedValueGenerator(
this.compositeType = compositeType;
}

// Used by Hibernate Reactive
public CompositeNestedGeneratedValueGenerator(
GenerationContextLocator generationContextLocator,
CompositeType compositeType,
List<GenerationPlan> generationPlans) {
this.generationContextLocator = generationContextLocator;
this.compositeType = compositeType;
this.generationPlans.addAll( generationPlans );
}

public void addGeneratedValuePlan(GenerationPlan plan) {
generationPlans.add( plan );
}
Expand Down Expand Up @@ -172,4 +182,19 @@ public void initialize(SqlStringGenerationContext context) {
plan.initialize( context );
}
}

// Used by Hibernate Reactive
public List<GenerationPlan> getGenerationPlans() {
return generationPlans;
}

// Used by Hibernate Reactive
public GenerationContextLocator getGenerationContextLocator() {
return generationContextLocator;
}

// Used by Hibernate Reactive
public CompositeType getCompositeType() {
return compositeType;
}
}