-->
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.  [ 4 posts ] 
Author Message
 Post subject: Using Shards with Search
PostPosted: Mon Apr 28, 2008 7:45 am 
Newbie

Joined: Mon Apr 28, 2008 7:20 am
Posts: 1
I have a problem with hibernate shards and hiberante search, used together.
On runtime I have this exception:

Code:
java.lang.ClassCastException: org.hibernate.shards.session.ShardedSessionImpl
   at org.hibernate.search.impl.FullTextSessionImpl.<init>(FullTextSessionImpl.java:70)
   at org.hibernate.search.Search.createFullTextSession(Search.java:21)

have you some solution?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 28, 2008 10:52 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
this look like a bug: ShardedSessionImpl does not implement EventSource.
It doesn't seem easy to fix, what do the developers think about this?
regards,

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 08, 2008 8:28 am 
Newbie

Joined: Tue Apr 22, 2008 5:26 am
Posts: 6
Location: Milan
We are having the same issue.
Any news about this problem?

regards,
Luca


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 02, 2008 7:49 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
MaxR and I need to sit down one day and figure that out. can you guys give us your usecase, more info about the need to use both technology at the same time?

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.