org.hibernate.sql.Sybase11JoinFragment Maven / Gradle / Ivy
//$Id: Sybase11JoinFragment.java 4886 2004-12-05 15:04:21Z pgmjsd $
package org.hibernate.sql;
/**
* 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
*/
public class Sybase11JoinFragment extends JoinFragment {
private StringBuffer afterFrom = new StringBuffer();
private StringBuffer afterWhere = new StringBuffer();
public void addJoin(String tableName, String alias, String[] fkColumns, String[] pkColumns, int joinType) {
addCrossJoin(tableName, alias);
for ( int j=0; j
© 2015 - 2025 Weber Informatics LLC | Privacy Policy