Java Columns - 2
INSTALL the new class in the database
INSTALL JAVA NEW FROM FILE
'c:\\amisc\\ASAJava\\HelloWorld.class';
Use the new class as a column datatype
CREATE TABLE java_hello_world
( pkey INTEGER NOT NULL,
JHelloWorld HelloWorld NOT NULL,
PRIMARY KEY ( pkey ) );
Notes:
After the Java codeis compiled into a class file it can be installed in the database. The class name can then be used as a column datatype in a CREATE TABLE command.