Home » Support » Forum » Querys without Transaction

Querys without Transaction

#1

Hello,

are querys faster, if we use the entity manager without transaction, since we need only read-only entities.

#2

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. 

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login