[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5924) Enable specifying the fetch mode for map-key-many-to-many and index-many-to-many
Robert Wruck (JIRA)
noreply at atlassian.com
Sun Feb 13 06:48:05 EST 2011
Enable specifying the fetch mode for map-key-many-to-many and index-many-to-many
--------------------------------------------------------------------------------
Key: HHH-5924
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5924
Project: Hibernate Core
Issue Type: New Feature
Components: core
Affects Versions: 3.6.1
Environment: doesn't matter
Reporter: Robert Wruck
The documentation says that with many-to-many "... for full eager fetching in a single SELECT of an entity and its many-to-many relationships to other entities, you would enable join fetching,not only of the collection itself, but also with this attribute on the <many-to-many> nested element".
This seems to also apply to map-key-many-to-many and index-many-to-many where the default setup generates 1+N SELECTs. Unfortunately the DTD (and maybe hibernate itself) currently doesn't support specifying fetch="join" for these elements.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list