Entity « Search « JPA Q&A





1. Hibernate Search, filter out object with the highest value    stackoverflow.com

Hi i have a EntityObject like this

public class Adm{
private String id;
private String version;
private String name;
private String mimetype;
    ... 
    ...
    ...

}
I ...

2. Hibernate Search QueryBuilder: query for non-entity field    stackoverflow.com

I am trying to use the QueryBuilder from Hibernate Seaerch with a field which is not a property of the respective Entity but rather constructed on the fly using an ClassBridge. ...

3. Index Multiple Entities using Hibernate Search    stackoverflow.com

Is it possible to Index multiple entities within same index using Hibernate Search ? I have 3 entities User, Category and Campaign. These entities are not related to each other. I need ...

4. Hibernate Search, Entities, and SQL VIEWs    stackoverflow.com

I have a table that maintains rows of products that are for sale (tbl_products) using PostgreSQL 9.1. There are also several other tables that maintain ratings on the items, comments, ...

5. hibernate criteria search through multiple entities    stackoverflow.com

I have three entities: Log, Employee, and Agency Log with a many to one association to Employee Employee with a many to one association to Agency

DetachedCriteria criteria = DetachedCriteria.forClass(Log.class);

if (StringUtils.isNotBlank(c.getName())) {
   ...

6. Searching the most relevant entity using given an Example    forum.hibernate.org

Hibernate version: 3.2 cr2 Name and version of the database you are using: HSQL 1.8.0 Hi, Lets say there is an 'EmployeeTravelAllowance' entity that defines the travel allowance for employees based on attributes like 'department', 'businessUnit', 'category' ( with values like permanent and contract ). Now, when the allowances are defined, one starts with a default for the general employee population ...

7. Searching the most relevant entity using given an Example    forum.hibernate.org

Hibernate version: 3.2 cr2 Name and version of the database you are using: HSQL 1.8.0 Hi, Lets say there is an 'EmployeeTravelAllowance' entity that defines the travel allowance for employees based on attributes like 'department', 'businessUnit', 'category' ( with values like permanent and contract ). Now, when the allowances are defined, one starts with a default for the general employee population ...

8. Searching the most relevant entity using given an Example    forum.hibernate.org

Hibernate version: 3.2 cr2 Name and version of the database you are using: HSQL 1.8.0 Hi, Lets say there is an 'EmployeeTravelAllowance' entity that defines the travel allowance for employees based on attributes like 'department', 'businessUnit', 'category' ( with values like permanent and contract ). Now, when the allowances are defined, one starts with a default for the general employee population ...

9. Searching the most relevant entity using given an Example    forum.hibernate.org

Hibernate version: 3.2 cr2 Name and version of the database you are using: HSQL 1.8.0 Hi, Lets say there is an 'EmployeeTravelAllowance' entity that defines the travel allowance for employees based on attributes like 'department', 'businessUnit', 'category' ( with values like permanent and contract ). Now, when the allowances are defined, one starts with a default for the general employee population ...





10. Hbn Search: want to use @ContainedIn in non-indexed entity    forum.hibernate.org

Hibernate Search 3.0.0.GA I'm indexing an entity that contains a map of other entities. I'm using @IndexedEmbedded to index the other entities as part of the top-level entity. However, I do not want to index the other entities otherwise. (They hold extra attribute values that the user can add to the top-level entity. They have no use independent of that entity. ...

11. Excluding an objects collections/entities in a search    forum.hibernate.org

Hi What is the best/easiest way to exclude certain collections belonging to an object ? Let's say that we have object A, A contains an entity B (@OneToOne, @JoinColumn..) and a collection C (@OneToMany..@JoinColumn) and another collection D. B has a collection of BE's (@OneToMany..). I now want to fetch an A depending on a criteria but only load the A ...