What happens if you replace hibernate-annotations.jar from the jboss lib (and
add hibernate-commons-annotations.jar) and properly bundle hibernate-search in
the EAR?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101992#4101992
Reply to the post :
http://ww
Ok I have got it fixed this time, both searching and indexing give no error.
Basically you just have to avoid FullTextSession, create FullTextEntityManager
instead. I will post the code later on tonight
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099221#4
Well, it does not work... Although it fixed the search by copy the jar to jboss
lib folder, it break the adding index part...
| javax.ejb.EJBException: java.lang.RuntimeException:
java.lang.NoSuchMethodError:
org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
|
Ok I got it working...
It happens that you have to copy the hiberaten-search.jar and the dependency
jars to the jboss lib folder. it wont work if you got it in EAR (even i have
include the jar in the application.xml)
"chrisky" wrote : I have the same problem
| JBoss 4.2.1 with Hibernate 3.0.
I have the same problem
JBoss 4.2.1 with Hibernate 3.0.0 without using SEAM(in EJB)
| org.hibernate.Session origSession =
(org.hibernate.Session)em.getDelegate();
| FullTextSession session =
Search.createFullTextSession(origSession);
|
|
"mrmimo" wrote : This problem is related to hibernate-search dependencies. For
me it works when I took the libraries from it's lib dir, and replaced
apropriate jboss libraries with those from hibernate-search. I had to upgrade
hibernate3.jar to resolve introduced dependencies.
|
| The botto
Thanks for your reply mrmimo, I will give that a try
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088548#4088548
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088548
___
jb
This problem is related to hibernate-search dependencies. For me it works when
I took the libraries from it's lib dir, and replaced apropriate jboss libraries
with those from hibernate-search. I had to upgrade hibernate3.jar to resolve
introduced dependencies.
The bottom line is - current hiber
I have not found a solution yet, but I am working on other parts of my app
right now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081373#4081373
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081373
Please momochone11, you resolved the "createFullTextQuery()" problem, because I
am with the same problem and I canĀ“t fix it.
thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081049#4081049
Reply to the post :
http://www.jboss.com/index.html?module=bb&
I am using the Seam 2.0 beta that resides on CVS repositoriy, ie. not the 2.0
beta that is on the homepage, and yes I did try using Hibernate Search that
comes with Seam 2.0.
The weird problem is that it works in the seam examples but not on my own app.
That's why I am wondering if anyone else
Without using the Search.createFullTextSession is the right way to do it,
regardless of your problem.
What is strange is that it seems FullTextSession.createFullTextQuery() expect
to return o.h.Query where it should really return
org.hibernate.search.FullTextQuery.
Which version of Seam are yo
did anyone run into the same problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075960#4075960
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075960
___
jboss-user mailin
Also, I also tried WITHOUT using Search.createFullTextSession() as suggested by
documentation.. I have another method that looks like this and still end up
with the same exception.
public List getSearchResults()
| {
| if(searchPattern == null)
| return null;
|
I also have tried this method
anonymous wrote : public void testSessionWrapper() throws Exception {
| FullTextSession s =
Search.createFullTextSession((org.Hibernate.Session)getEntityManager().getDele
| gate());
| QueryParser parser = new QueryParser( "title", new
S
15 matches
Mail list logo