Change By: Hardy Ferentschik (12/Sep/12 2:21 AM)
Description: The hibernate search configuration specified by programmatic API (_SearchMapping_ class) is ignored for entities that have _@MappedSuperclass_ parent.

All fields that are declared in a _@MappedSuperclass_ parent are not recognized by programmatic config and ignored
 ( , when configured like this:
{code}
mapping.property("property", ElementType.FIELD))
{code}

We've already found a workaround for this problem - to overwrite getter method in _@Entity_ class (just calling super.getter) and configure it like following: 
{code}
mapping.property("property", ElementType.METHOD)
{code}
But I think that's not the real solution.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira