EasyManua.ls Logo

Sybase Adaptive Server Anywhere - Java Class Data Types

Sybase Adaptive Server Anywhere
1182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Java class data types
288
Java class data types
Any public Java class that is installed into a database can be used as a SQL
data type. Java class data types provide abstract data types for use within the
database.
Java classes in the database fall into one of the following categories:
Standard classes Standard Java classes are those that are part of the
Sun Microsystems Java Development Kit (JDK). A subset of the
standard class set is installed into all Java-enabled databases as built-in
classes.
User-defined classes Users with DBA permission can install
compiled Java classes into a database.
Adaptive Server Anywhere supports JDK 1.1.6, but not all standard Java
classes from JDK 1.1.6 are supported. This is intentional. Some classes are
not supported for security reasons. Other classes are not supported because
they are applicable to user interface programming. Lastly, only classes in
packages that begin with the word java are considered to be 100% pure
Java, so any packages that start with other words (like sun) are unsupported.
When a Java class is listed as supported, it means all its methods have been
implemented within the Sybase VM. If a class is listed as partially
supported then some of its methods have not been implemented.
Even if a class is supported, not all of the methods of a supported Java class
are guaranteed to work. Methods of supported classes can fail if they depend
on classes that are not supported.
When a method fails because of an unsupported class, the usual error
condition is an unhandled exception:
java.lang.UnsatisfiedLinkError for the method which has not
been implemented.
Supported Java packages
This section lists the packages of built-in classes available for use as SQL
data types in a Java-enabled database. For information about any classes
within the package that may be unsupported or partially supported, see
"Unsupported Java packages and classes" on page 289, and "Partially
supported packages and classes" on page 290.
java.beans
Function
Standard and user-
defined Java
classes
Not all standard
Java classes are
supported
Definition of
supported
Error condition
when not
supported

Table of Contents

Related product manuals