search « Seam « JPA Q&A





1. Empty Result Hibernate search    seamframework.org

Does anyone know why hibernate search is returning an empty list? Am thinking its a minor problem because everything works fine, annotations are well added to the entity class and persistence.xml is configured. But when a search request is sent to the app server, I get back an empty list. Please any help.

2. Hibernate Search    seamframework.org

^Can someone help with the following problem(Hibernate Search)? I keep getting bunch of errors every time I run the app. Here is the class. ------------------------------------------------------------------------------------------------------------------------------------------- @Name( "userDao" ) @Scope( ScopeType.STATELESS ) @AutoCreate public class UserDAO { private final EntityManager em; @In FullTextEntityManager fem; public UserDAO() { em = ( EntityManager )Component.getInstance( "entityManager", true ); } @SuppressWarnings( "unchecked" ) public List searchUsers( ...

3. Hibernate Search 2    seamframework.org

Why on earth are you trying to @In(ject) it? @In means that you want Seam to look for a bean in one of its contexts. But, when you get to that line you throw away whatever it injected anyway. Once again I think this comes down to the fact that you do not understand how Seam works and need to read ...

4. Hibernate Search 3.1.0.GA    seamframework.org

Hibernate Search 3.1.0 quite recently went GA. It contains a few important changes that our team would benefit very much from. 3.1.0 requires hibernate > 3.3.0.Seam is bundled with 3.2.x. Has anyone ventured into getting Hibernate Search 3.1.0 to work with Seam? Is it a "go" or "no go"? Thanks, Tobias(Btw, this is the most annoying/un-user-friendly forum editor I have ever ...

5. hibernate-search-3.1.1.GA + seam    seamframework.org

6. Hibernate Search and numeric ranges    seamframework.org

Hi there,i use Hibernate Search 3.1 along with Seam 2.1.2, which works fine in general.But i wonder if there is a satisfying solution for searching numeric ranges, especially open-ended ones.First: I read that the latest Lucene versions (since 2.9.0) support native numeric handling, but it seems the latest Hibernate Search releases are bundled with Lucene 2.4.1, so this is not available. ...

7. Hibernate Search and @PostPersist clash ?    seamframework.org

8. Hibernate Search and SeamTest    seamframework.org

Working with seam 2.2.0.GA, hibernate search 3.1.1.GA, Lucene 2.9.2.Persistence XML includes property name="hibernate.search.default.directory_provider" value="org.hibernate.search.store.FSDirectoryProvider"/> property name="hibernate.search.default.indexBase" value="indexes" property name="hibernate.search.reader.strategy" value="shared" ...

9. Hibernate search : Indexing a 1 million rows table.    seamframework.org

I don't know the proper solution for this but if you increase transaction timeout in jboss-service.xml (conf folder) from default 300 seconds to something more(in your case probably double that) it will work. But this will change transaction timeout for all transactions in all applications running on that jboss. That is probably not ok...





10. Issues with Hibernate Search 3.2.0.CR1 and Seam 2.2.1.CR1    seamframework.org

The new proxied persistence provider (introduced in Seam 2.2.1.CR1) might need some rework in order to be compatible with the current release candidate of Hibernate Search (that is 3.2.0.CR1)... 1)When org.jboss.seam.persistence.HibernatePersistenceProvider is trying to find out if HSearch is available it expects org.hibernate.search.Version to have some static VERSION field, but current release 3.2.0.CR1 does not provide it.2)The org.jboss.seam.persistence.HibernateSessionInvocationHandler does not seem ...

11. Programmatically configure Hibernate Search in Seam    seamframework.org

I'm trying to set up Hibernate Search from entity classes in a packaged library. Thus, I don't have access to the classes to add the proper annotations. So, I found out you can configure Hibernate Search programmatically. However, this requires setting a properties file when creating the EntityManagerFactory. Here is the example from the Hibernate Search docs:

12. Seam and Hibernate Search    seamframework.org

14. Seam with Hibernate Search Optimization (Join Fetching?)    seamframework.org

Hi folks,i just want to know if there is a way to optimize Hibernate Search in a way to avoid multiple selects on the database. I know in core Hibernate a default lazy loading can be overridden by join fetching (in HQL or Criteria API setFetchMode), but are these also made available through Hibernate Search?Didn't find on first sight...Thanks a lot, ...

15. Sharing hibernate search (leucene) index between two WARs    seamframework.org

I need your help. I have two WAR applications with Seam 2.1.2 on Jboss 5.1. The both apps are using the same database (Mysql) and hibernate search on same table, so they also have same indexed entity, but since every app is packaged in war, for every entity is created a separated lucen index folder.

16. Upgrade Hibernate-Search problems    seamframework.org





17. Using Hibernate Search    seamframework.org

18. Hibernate Search + Seam    coderanch.com

19. hibernate-search and seam again    forum.hibernate.org

Author Message TurkishPirate Post subject: hibernate-search and seam again Posted: Tue Feb 12, 2008 8:38 am Newbie Joined: Tue Feb 12, 2008 3:51 am Posts: 6 Hello, everybody. I'm using hibernate-search in my Seam web application. And i have the same trouble as guy from topic http://forum.hibernate.org/viewtopic.php?t=982853&postdays=0&postorder=asc&start=0. I'm using JBoss 4.2.1.ga, seam 2.0.0.ga, hibernate-commons-annotations 3.0.0.ga, hibernate-search 3.0.0.ga, oracle 10g. ...