Issue Type: Bug Bug
Affects Versions: 4.2.0.Final
Assignee: Unassigned
Components: engine
Created: 07/May/13 8:44 AM
Description:

Using a domain model like:

public abstract class Entity {
   @IndexedEmbedded
   private EntitySummary entitySummary;
}

public class EntitySummary {
   @IndexedEmbedded
   private EntityState state;
   @ContainedIn
   private Entity entity;
}

@Indexed(index = "Item")
public class IndexedItem extends Entity {
}

//Please note that this class is not indexed.
public class NonIndexedItem extends Entity {
}

Persisting a NonIndexedItem can lead to

org.hibernate.search.SearchException: Unable to perform work. Entity Class is not @Indexed nor hosts @ContainedIn: class com.bla.NonIndexedItem

Fix Versions: 4.3
Project: Hibernate Search
Priority: Major Major
Reporter: Sanne Grinovero
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