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

DB2390Dialect

public class DB2390Dialect extends DB2Dialect
An SQL dialect for DB2/390. This class provides support for DB2 Universal Database for OS/390, also known as DB2/390.
author
Kristoffer Dyrkorn

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;