Package org.apache.torque.sql

# Class JoinBuilder

java.lang.Object
org.apache.torque.sql.JoinBuilder

public final class JoinBuilder extends Object
Generates SQL for joins.

Version:
  $Id: JoinBuilder.java 1839288 2018-08-27 09:48:33Z tv $
Author:
  Thomas Fischer, Henning P. Schmiedehausen

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `processJoins(Criteria criteria, Query query)`
  Adds the Joins from the criteria to the query.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### processJoins

    public static void processJoins(Criteria criteria, Query query) throws TorqueException
    Adds the Joins from the criteria to the query.
    Parameters:
      `criteria` - the criteria from which the Joins are taken.
      `query` - the query to which the Joins should be added.
    Throws:
      `TorqueException` - if the Joins can not be processed