]
Steve Ebersole updated HHH-2480:
--------------------------------
Affects Version/s: antlr-rework
Unify join fetch behavior for HQL and Criteria APIs
---------------------------------------------------
Key: HHH-2480
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2480
Project: Hibernate3
Issue Type: Improvement
Components: query-criteria, query-hql
Affects Versions: antlr-rework
Reporter: Christian Bauer
Priority: Critical
Fix For: antlr-rework
Can we consider changing the criteria API in 3.3 so that DISTINCT_ROOT_ENTITY is the
default transformer?
10:28
I remember that detecting "fetch" in HQL and applying this transformer is
already on the list, right?
10:29
or introduce config options for both APIs, so users can switch the default transformer
10:30
also, verify this please:
http://www.hibernate.org/117.html#A12
Steve
2:31
we should try to detect if any fetches are present
2:31
otherwise DISTINCT_ROOT_ENTITY presents unecessary overhead
2:31
i dont recall such a discussion regarding that feature in HQL
2:32
another option is sorta like i'm planning in other areas: fallback to subselect
fetching
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: