[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-350?pag...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira