To declare a Java-SQL column when you create or alter a table, use the following syntax:
java_sql_column ::= column_name java_sql_class_name
Specifies the syntax of Java-SQL column declarations.
The name of the Java-SQL column.
The name of a Java-SQL class in the current database. This is the “declared class” of the column.
The declared class must implement either the Serializable or Externalizable interface.
A Java-SQL column is always associated with the current database.
A Java-SQL column cannot be specified as:
not null
unique
A primary key
You use a Java-SQL column declaration only when you create or alter a table. See the create table and alter table information in the Reference Manual.