1. Hibernate Search and associations forum.hibernate.orgI've been looking at integrating my domain model with Lucene to make it more easily searchable. Imagine my surprise and delight when I found out about Hibernate Search, since I already use Hibernate from all my persistence. The only thing I have a question about is how Hibernate Search handles associations. For instance, if I wanted to map a Person and ... |
2. Paging (and searching) entities from an association forum.hibernate.orgHi all, I am new to Hibernate, I have a couple probably relatively simple questions : I have two entities, Department and Employee, representing two db tables, connected in the one-to-many relation (Employee db table, as usual, have foreign key pointing to the Department table) : Code: @Entity @Table(name = "DEPARMENT", uniqueConstraints = {...}) public class Department implements java.io.Serializable { ... |