org.apache.torque.sql
Class JoinBuilder

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

public final class JoinBuilder
extends Object

Generates SQL for joins.

Version:
$Id: JoinBuilder.java 1351125 2012-06-17 16:51:03Z tv $
Author:
Thomas Fischer, Henning P. Schmiedehausen

Method Summary
static void processJoins(CriteriaInterface<?> 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 Detail

processJoins

public static void processJoins(CriteriaInterface<?> 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


Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.