[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-350) @IndexedEmbedded appears to handle only declared type, not subtypes

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Apr 8 11:29:43 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HSEARCH-350.
--------------------------------------

    Resolution: Duplicate

There is an open issue on this topic

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