![]() |
SQL-J Language Reference
|
Reference Manual |
CREATE METHOD ALIAS statementCREATE METHOD ALIAS adds an alias for a static Java method, making it appear to be a native built-in function. Method aliases are not defined within a particular schema. Syntax
CREATE METHOD ALIAS MethodAlias The Java class must be a public class and available on the current system or database class path. The method must exist and be public. A method alias and a class alias can share the same name. CREATE METHOD ALIAS Examples
CREATE METHOD ALIAS ABS
CREATE METHOD ALIAS findCity
-- City is an alias for JBMSTours.serializabletypes.City
-- a method alias and class alias can have Once a method alias has been defined within a database, you refer to it with the alias alone: |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |