[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-350) @IndexedEmbedded appears to handle only declared type, not subtypes
Taylor Mathewson (JIRA)
noreply at atlassian.com
Wed Mar 18 11:20:38 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32668#action_32668 ]
Taylor Mathewson commented on HSEARCH-350:
------------------------------------------
Apologies, code example above should read:
@Indexed
class A{
@IndexedEmbedded
public B b;
}
class B{
...//some indexed fields
}
class C extends B{
...//some more indexed fields
}
> @IndexedEmbedded appears to handle only declared type, not subtypes
> -------------------------------------------------------------------
>
> Key: HSEARCH-350
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-350
> Project: Hibernate Search
> Issue Type: Improvement
> Components: mapping
> Reporter: Taylor Mathewson
>
> Given the following:
> @Indexed
> class A{
> @IndexedEmbedded
> public B b;
> }
> class B{
> ...//some indexed fields
> }
> public class C{
> ...//some more indexed fields
> }
> The index for A will only contain the indexed fields in B, never the fields in C, even if the runtime type of A's b property is of class C.
> Thank you.
--
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