File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
hibernate-core/src/main/java/org/hibernate/id Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,16 @@ public CompositeNestedGeneratedValueGenerator(
116116 this .compositeType = compositeType ;
117117 }
118118
119+ // Used by Hibernate Reactive
120+ public CompositeNestedGeneratedValueGenerator (
121+ GenerationContextLocator generationContextLocator ,
122+ CompositeType compositeType ,
123+ List <GenerationPlan > generationPlans ) {
124+ this .generationContextLocator = generationContextLocator ;
125+ this .compositeType = compositeType ;
126+ this .generationPlans .addAll ( generationPlans );
127+ }
128+
119129 public void addGeneratedValuePlan (GenerationPlan plan ) {
120130 generationPlans .add ( plan );
121131 }
@@ -172,4 +182,19 @@ public void initialize(SqlStringGenerationContext context) {
172182 plan .initialize ( context );
173183 }
174184 }
185+
186+ // Used by Hibernate Reactive
187+ public List <GenerationPlan > getGenerationPlans () {
188+ return generationPlans ;
189+ }
190+
191+ // Used by Hibernate Reactive
192+ public GenerationContextLocator getGenerationContextLocator () {
193+ return generationContextLocator ;
194+ }
195+
196+ // Used by Hibernate Reactive
197+ public CompositeType getCompositeType () {
198+ return compositeType ;
199+ }
175200}
You can’t perform that action at this time.
0 commit comments