[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-662) Re-indexing failure in @IndexedEmbedded entities in @ManyToOne relationship

Guillaume Smet (JIRA) noreply at atlassian.com
Fri Aug 12 11:15:02 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43224#comment-43224 ] 

Guillaume Smet commented on HSEARCH-662:
----------------------------------------

Hi Sanne,

I don't think I'll be able to dedicate time to work on it as I don't have a development environment set up for Hibernate Search and I tried to set up one quickly and it's a bit cumbersome.

I think I detailed the problem quite well so you should be able to fix the problem very quickly.

If you have any question about the problem or if you want me to detail anything, feel free to ping me.

Have a nice day.

-- 
Guillaume

> Re-indexing failure in @IndexedEmbedded entities in @ManyToOne relationship
> ---------------------------------------------------------------------------
>
>                 Key: HSEARCH-662
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-662
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.3.0.Final
>         Environment: Hibernate 3.6.0
>            Reporter: Kyrill Alyoshin
>            Assignee: Hardy Ferentschik
>            Priority: Critical
>             Fix For: 3.4.1, 4.0.0.Alpha1
>
>         Attachments: hibernate_search_bug.zip
>
>
> What is happening seems to be this:
> Let's say we have an @Indexed entity called Son. It has @IndexedEmbedded parent property called Dad in @ManyToOne relationship. Dad is @ContainedIn and has @Field on one of its fields. I am demonstrating a condition when more than one Dads are updated in a single session, only one would be re-indexed, the rest will fail to be re-indexed.
> I am attaching a simple IDEA project that clearly demonstrates what is going on. I believe that this is a very serious bug. (Note: I removed hibernate-3.6.0.jar from the lib directory to minimize the size of the zip file under 10M, the rest of the jars are there).
> Please run BugDemonstrationTest#showBug test method to see everything. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list