[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-388) Indexes are not created for @IndexedEmbedded fields that return an interface-type collection where you specify the implementation in targetEntity
Lynn Lamontagne (JIRA)
noreply at atlassian.com
Wed Jul 8 16:36:13 EDT 2009
Indexes are not created for @IndexedEmbedded fields that return an interface-type collection where you specify the implementation in targetEntity
-------------------------------------------------------------------------------------------------------------------------------------------------
Key: HSEARCH-388
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-388
Project: Hibernate Search
Issue Type: Bug
Components: engine
Affects Versions: 3.1.1.GA
Reporter: Lynn Lamontagne
Attachments: HSiA-1.0.0.zip
Indexes are not created for @IndexedEmbedded fields that return an interface-type collection where you specify the implementation in targetEntity.
I attached test code that demonstrates this problem. I used the Chapter4 example in Hibernate Search in Action. Actor.java and Item.java were modified to implement an interface. I also modified the getters and setters to return the interface and specified the implementation in entityType.
If you view the indexes using Luke, the Item index will be missing actors.id and actors.name fields.
The IndexEmbeddedTest - testEntityAssociations will fail.
The attached test code does not have the "common" folder containing all the required libraries due to a size limitation in uploading an attachment
--
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