[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-388) Indexes are not created for @IndexedEmbedded fields that return an interface-type collection where you specify the implementation in targetEntity

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jul 13 15:15:12 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik resolved HSEARCH-388.
---------------------------------------

    Resolution: Won't Fix

See https://forum.hibernate.org/viewtopic.php?f=9&t=998131 
targetElement on @IndexedEmbedded should be used.

> 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