Code example for IntegerType

0
		registerColumnType(Types.BLOB, "blob");
		registerColumnType(Types.CLOB, "clob");
		registerColumnType(Types.BOOLEAN, "integer");
 
		NullableType stringType = new StringType();
		NullableType integerType = new IntegerType();
		registerFunction("concat", new VarArgsSQLFunction(stringType, "", "||", ""));
		registerFunction("mod", new SQLFunctionTemplate(integerType, "?1 % ?2"));
		registerFunction("substr", new StandardSQLFunction("substr", stringType));
		registerFunction("substring", new StandardSQLFunction("substr", stringType));
	} 
 
	public boolean supportsIdentityColumns() { 
		return true; 
	} 
 
	/* 
	 public boolean supportsInsertSelectIdentity() { 
	 return true; // As specify in NHibernate dialect 
	 }