Conditional Filters

If I want add conditional filters on where clause jpql, from a query datasource used into screen browse, for example using setMaxResults or add where conditions, where is right place and mode ? which event into the controller ? or directly into xml ?

Also… I seen that if I’ve entity with few attributes association, and I create a View used into screen browse, the clause used to join the tables is LEFT OUTER JOIN, if I want use INNER JOIN ?

Please see this sample application, specifically ProductBrowse screen controller.

As for join type, it cannot be changed for views, only if you write the join manually in JPQL.