keyword « Search « JPA Q&A





1. silly question but..how do you search for NOT keyword    forum.hibernate.org

i.e. I'm looking for threads with the following query: transaction not active but the search query thinks I'm searching for transaction, where active is not present, I tried notnot, and +not, and "not active" all to no avail..the system keeps search results in all cases shwo it as ignoring not active In summary I have code that does: transaction.begin() somewhere here ...

2. Multi-keyword search across multiple object properties    forum.hibernate.org

Hibernate version: 3.0.4 I'm trying to implement a keyword search on my Product object, to return a list of products matching a user's keyword search. Users can enter a list of keywords in freeform text, and I need to retrieve products that have any of the keywords in their name OR description. I started off trying to use Restriction.in("name", keywords), but ...

3. Criteria API Keyword search and collections    forum.hibernate.org