Skip to content

Conversation

Ocramius and others added 18 commits June 11, 2025 15:43
…erations in `UnitOfWork#executeInserts()`

This logic also brings a minor benefit in reducing the number of times `ListenersInvoker#getSubscribedSystems`
is queried.

TODOs:

* [ ] integration test this - it is expected to reduce the number of `EntityPersister#executeInserts()` calls
* [ ] refactor this by creating a new `@internal` class for the batch, and perhaps batch via a generator
* [ ] reduce amount of repeated `getClassMetadata()` calls
* [ ] reduce overall size of `UnitOfWork` code, instead of increasing it
The `SequenceGenerator` is potentially used for PostgreSQL table auto-generated fields, but
the `SequenceGenerator` is not a **POST**-insert generator.

Because the `SequenceGenerator` is used in the middle of `INSERT` operations performed
by persisters, we cannot rely on it in batching operations: disabling it, so we get a green
test suite on PostgreSQL.

This change makes `GH10531Test` pass on PostgreSQL: see #10531
…-of-inserts-with-given-ids

#11977 implemented batching of `INSERT` operations in `UnitOfWork#executeInserts()` so that `EntityPersister#executeInserts()` calls are reduced
Add console completion for entityName param of orm:mapping:describe c…
do not register the legacy proxy class name resolver with enabled native lazy ghost
Merge branch 3.4.x into 3.5.x
…Exception

Only throw PHP 8.4 requirement exception when enabling native lazy objects.
Merge 3.4.x up into 3.5.x
@greg0ire greg0ire merged commit 1492b01 into 4.0.x Jul 1, 2025
85 checks passed
@greg0ire greg0ire deleted the 3.5.x-merge-up-into-4.0.x_WQvH3XMN branch July 2, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants