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(
116
116
this .compositeType = compositeType ;
117
117
}
118
118
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
+
119
129
public void addGeneratedValuePlan (GenerationPlan plan ) {
120
130
generationPlans .add ( plan );
121
131
}
@@ -172,4 +182,19 @@ public void initialize(SqlStringGenerationContext context) {
172
182
plan .initialize ( context );
173
183
}
174
184
}
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
+ }
175
200
}
You can’t perform that action at this time.
0 commit comments