How do I use Java classes in SQL?

Using Java classes, whether user-defined or from the Java API, is a three-step activity:

  1. Write or acquire a set of Java classes that you want to use as SQL datatypes, or as SQL aliases for static methods.

  2. Install those classes in the Adaptive Server database.

  3. Use those classes in SQL code: