org.apache.torque.util
Class JoinBuilder

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

public final class JoinBuilder
extends java.lang.Object

Factored out code that is used to generate Join Code. This code comes from BasePeer and is put here to reduce complexity in the BasePeer class. You should not use the methods here directly!

Version:
$Id: JoinBuilder.java 535615 2007-05-06 14:11:05Z tv $
Author:
Thomas Fischer, Henning P. Schmiedehausen

Method Summary
static void processJoins(DB db, DatabaseMap dbMap, 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 Detail

processJoins

public static void processJoins(DB db,
                                DatabaseMap dbMap,
                                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


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.