-
-
Notifications
You must be signed in to change notification settings - Fork 970
Closed
Milestone
Description
I've been tracing some performance issues and found an issue with the GormEntity.exists when using Hibernate.
In AbstractHibernateGormStaticApi each call to criteriaQuery.from creates a new query root. The resulting HQL looks like this:
select count(generatedAlias0)
from SomeDomain as generatedAlias1,
SomeDomain as generatedAlias0
where generatedAlias1.id=1L
It looks like it just needs to have one of the calls to criteriaQuery.from eliminated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Done