1 Reply Latest reply on May 14, 2007 1:46 PM by Grant Rettke

    How to render partial search results?

    Grant Rettke Novice


      I'm still pretty new to JPA-QL and Hibernate, and also JSF and Seam. That said, I would appreciate some advice regarding this scenario:

      For a use case we need to perform a search and display a mix of results on the screen that are not related (by an object graph, at least, not without some work). We are doing a query to get numerous pieces of partial data. This may include , for example, employee id, activity id, and account id.

      I imagine we would render those search results using the @DataModel annotation, but the problem is that if we get partial search results, there is no object to which we can bind values using the expression language in the UI.

      How do you usually deal with scenarios like this?