Commit eaeda2f
committed
HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Add a maximum iteration threshold, to avoid a stack overflow error in case there will be circular dependency that's not properly detected1 parent a5d50c3 commit eaeda2f
File tree
1 file changed
+13
-3
lines changed- hibernate-core/src/main/java/org/hibernate/engine/spi
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1170 | 1173 | | |
1171 | 1174 | | |
1172 | 1175 | | |
1173 | 1176 | | |
1174 | 1177 | | |
| 1178 | + | |
| 1179 | + | |
1175 | 1180 | | |
1176 | 1181 | | |
1177 | 1182 | | |
| |||
1204 | 1209 | | |
1205 | 1210 | | |
1206 | 1211 | | |
1207 | | - | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
1208 | 1219 | | |
1209 | | - | |
1210 | 1220 | | |
1211 | 1221 | | |
1212 | 1222 | | |
| |||
0 commit comments