how to constructing a dynamic query  for many to  one  relationship  tables using the CriteriaBuilder of JPA 2.0
how to construct a dynamic query for a many to one relationship using the CriteriaBuilder of JPA 2.0