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

Taylor Mathewson (JIRA) noreply at atlassian.com
Wed Mar 18 11:14:38 EDT 2009


@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