-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: ClassBridge Not being called when indexing
PostPosted: Wed Oct 07, 2009 5:00 am 
Pro
Pro

Joined: Wed Oct 03, 2007 2:31 pm
Posts: 205
Hi

I have noticed that my class bridge for my indexed entity is not being called even when I do a manual indexing. I am using Hibernate Search 3.1.1 GA with applied patch from viewtopic.php?f=9&t=999947

This is somewhat strange. I will try a version before the patch to see if it works.

Cheers


Top
 Profile  
 
 Post subject: Re: ClassBridge Not being called when indexing
PostPosted: Wed Oct 07, 2009 12:25 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

can you provide some more detail. How does your ClassBridge look like? How do you use it in your indexed entity?

--Hardy


Top
 Profile  
 
 Post subject: Re: ClassBridge Not being called when indexing
PostPosted: Wed Oct 07, 2009 2:22 pm 
Pro
Pro

Joined: Wed Oct 03, 2007 2:31 pm
Posts: 205
I think this is related to the Spring JTA issue as mentioned in viewtopic.php?f=9&t=999811

Even with the work around the event listeners are not registering the tx commit and as a result problems of updates are occuring. Struggling with this issue and no help from Spring guys. the class bridge is very simple so I don't believe it's a problem with the class bridge. I believe the @Indexed entity is not being updated because of tx issue.

Apologies for bringing this up again! It's been a long painful day!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.