1. Java Persistence Query Language search in a collection stackoverflow.comI have a MyApp class which contains: @org.hibernate.annotations.CollectionOfElements private Set permissions = new Hashset< String>(); That produces two tables, MyApp and MyAppPermissions. I want to search for Apps that match a given set ... |
2. Hibernate Search - can you store info in lucene index file without persisting to the DB? coderanch.comI would like to index a CLOB (larger amount of text data) to be search-able using Hibernate Search. The issue is that I do not really need that info in the DB for any reason, I just want the text indexed by lucene (within hibernate). For example: @Entity @Table(name = "TEXTITEM") public class TextItem implements java.io.Serializable { private long textItemId; private ... |