[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2824) Using filter on one to one association

Frederik Dejaeghere (JIRA) noreply at atlassian.com
Mon Sep 3 18:36:14 EDT 2007


Using filter on one to one association
--------------------------------------

                 Key: HHH-2824
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2824
             Project: Hibernate3
          Issue Type: Improvement
          Components: core
            Reporter: Frederik Dejaeghere


Suppose following

Label {
Collection Translations
@Filter(language)
String myTranslation ->No need for collection since there is a unique constraint
}

@UniqueConstraint(LabelId,Language)
Translation {
Long LabelId;
String Language;
}

This would be a big improvement on the performance of the left outer join.
We don't cache it because we won't to be able to do "order by" on the translation if we use paging.

-- 
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