Code example for NoArgSQLFunction

0
		registerFunction( "to_char", new StandardSQLFunction("to_char",StandardBasicTypes.STRING) );
		registerFunction( "to_date", new StandardSQLFunction("to_date",StandardBasicTypes.TIMESTAMP) );
		registerFunction( "sysdate", new NoArgSQLFunction("sysdate", StandardBasicTypes.TIMESTAMP, false) );
		registerFunction( "getdate", new NoArgSQLFunction("getdate", StandardBasicTypes.TIMESTAMP, false) );
		registerFunction( "nvl", new StandardSQLFunction("nvl") );
 
	} 
	 
	public boolean dropConstraints() { 
            return true; 
	} 
	 
	public boolean qualifyIndexName() { 
            return false; 
	} 
 
	public boolean supportsUnique() { 
		return false; 
	} 
     
Stop searching for code, let great code find you!  Add Codota to your java IDE