站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Sybase11_9_2JoinFragment (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.sql
Class Sybase11_9_2JoinFragment

java.lang.Object
  extended bynet.sf.hibernate.sql.JoinFragment
      extended bynet.sf.hibernate.sql.Sybase11_9_2JoinFragment

public class Sybase11_9_2JoinFragment
extends JoinFragment

An old Sybase-style join (before Sybase supported the ANSI style "inner join" etc syntax) This is needed for Sybase 11.9.2 and earlier, using the HQL 2.* syntax with Collections.

Author:
Colm O' Flaherty

Field Summary
 
Fields inherited from class net.sf.hibernate.sql.JoinFragment
FULL_JOIN, INNER_JOIN, LEFT_OUTER_JOIN, RIGHT_OUTER_JOIN
 
Constructor Summary
Sybase11_9_2JoinFragment()
           
 
Method Summary
 void addCondition(String condition)
           
 void addCondition(String alias, String[] columns, String condition)
           
 void addCondition(String alias, String[] fkColumns, String[] pkColumns)
           
 void addCrossJoin(String tableName, String alias)
           
 void addFromFragmentString(String fromFragmentString)
           
 void addJoin(String tableName, String alias, String[] fkColumns, String[] pkColumns, int joinType)
           
 void addJoins(String fromFragment, String whereFragment)
           
 JoinFragment copy()
           
 String toFromFragmentString()
           
 String toWhereFragmentString()
           
 
Methods inherited from class net.sf.hibernate.sql.JoinFragment
addFragment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sybase11_9_2JoinFragment

public Sybase11_9_2JoinFragment()
Method Detail

addJoin

public void addJoin(String tableName,
                    String alias,
                    String[] fkColumns,
                    String[] pkColumns,
                    int joinType)
Specified by:
addJoin in class JoinFragment

toFromFragmentString

public String toFromFragmentString()
Specified by:
toFromFragmentString in class JoinFragment

toWhereFragmentString

public String toWhereFragmentString()
Specified by:
toWhereFragmentString in class JoinFragment

addJoins

public void addJoins(String fromFragment,
                     String whereFragment)
Specified by:
addJoins in class JoinFragment

copy

public JoinFragment copy()
Specified by:
copy in class JoinFragment

addCondition

public void addCondition(String alias,
                         String[] columns,
                         String condition)
Specified by:
addCondition in class JoinFragment

addCrossJoin

public void addCrossJoin(String tableName,
                         String alias)
Specified by:
addCrossJoin in class JoinFragment

addCondition

public void addCondition(String alias,
                         String[] fkColumns,
                         String[] pkColumns)
Specified by:
addCondition in class JoinFragment

addCondition

public void addCondition(String condition)
Specified by:
addCondition in class JoinFragment

addFromFragmentString

public void addFromFragmentString(String fromFragmentString)
Specified by:
addFromFragmentString in class JoinFragment