Hello,
are querys faster, if we use the entity manager without transaction, since we need only read-only entities.
Hello,
are querys faster, if we use the entity manager without transaction, since we need only read-only entities.
There is no much difference, but report queries, i.e. queries that return simple value fields rather than entity objects are more efficient as they eliminate the need to manage entity objects.
Similarly, returning results using result classes is also expected to be slightly more efficient than returning entity objects.