[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4812) Add fetch profile support in annotations
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Wed Mar 3 14:31:47 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35723#action_35723 ]
Hardy Ferentschik commented on HHH-4812:
----------------------------------------
To have entity as an array was a typo. So here is how it looks like now:
{code}
@Target({ ElementType.TYPE, ElementType.PACKAGE })
@Retention(RetentionPolicy.RUNTIME)
public @interface FetchProfile {
String name();
FetchOverride[] fetchOverrides();
@Target({ ElementType.TYPE, ElementType.PACKAGE })
@Retention(RUNTIME)
@interface FetchOverride {
Class<?> entity();
String association();
FetchMode mode();
}
}
{code}
> Add fetch profile support in annotations
> ----------------------------------------
>
> Key: HHH-4812
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4812
> Project: Hibernate Core
> Issue Type: New Feature
> Components: annotations
> Reporter: Emmanuel Bernard
> Assignee: Hardy Ferentschik
> Fix For: 3.5.0.Next
>
>
--
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