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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira