FileDocCategorySizeDatePackage
DB2400Dialect.javaAPI DocHibernate 3.2.5870Sun Feb 13 06:48:40 GMT 2005org.hibernate.dialect

DB2400Dialect

public class DB2400Dialect extends DB2Dialect
An SQL dialect for DB2/400
author
Peter DeGregorio (pdegregorio) This class provides support for DB2 Universal Database for iSeries, also known as DB2/400.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetIdentitySelectString()

		return "select identity_val_local() from sysibm.sysdummy1";
	
public java.lang.StringgetLimitString(java.lang.String sql, int offset, int limit)

		return new StringBuffer(sql.length() + 40)
			.append(sql)
			.append(" fetch first ")
			.append(limit)
			.append(" rows only ")
			.toString();
	
public booleansupportsLimit()

		return true;
	
public booleansupportsLimitOffset()

		return false;
	
public booleansupportsSequences()

		return false;
	
public booleansupportsVariableLimit()

		return false;
	
public booleanuseMaxForLimit()

		return true;