java.lang.Object
org.broadleafcommerce.common.util.dao.TQJoin

public class TQJoin extends Object
Specify the attributes of a JOIN that should appear in the TypedQuery. Generally takes the form of:

 
 TypedQueryBuilder builder = new TypedQueryBuilder(com.MyClass, "item")
 .addJoin(new TQJoin("item.collection", "collection"))
 .addRestriction("collection.id", "=", 1L);
 
 

The alias value can be used in subsequent restriction expressions.
Author:
Jeff Fischer
  • Field Details

    • expression

      protected String expression
    • alias

      protected String alias
  • Constructor Details

  • Method Details