You are here: Reference Information > SQL Reference Information > SQL System Tables > JAVACLASSES System Table Description

JAVACLASSES System Table Description

Description

Information about Java classes defined in the current database using CREATE JAVACLASS (See CREATE JAVACLASS). These are used for Java stored procedures and Java triggers.

Fields

Field Type Description
CLASSID string The classid parameter you specify in CREATE JAVACLASS. See CREATE JAVACLASS for more information.
BYTECODE blob The byte code representing the class.

Indexes

Primary Index: JAVACLASSES..PRIMARY_KEY on field: CLASSID

Example

Using the example found at Using Embedded Java Stored Procedures, doing a select from SYSTEM.JAVACLASSES results in the following output. Note: Using SET OUTPUT VERTICAL is useful for viewing SYSTEM.JAVACLASSES (see SET).

SET OUTPUT VERTICAL;
SELECT * FROM system.javaclasses;
==================================== Row #1 ====================================
CLASSID: MYCLASSID
BYTECODE: 504B030414000808080099504F45000000000000000000000000090004004D4554412D494E462FFECA00000300504B07080000000002000000000000
00504B030414000808080099504F45000000000000000000000000140000004D4554412D494E462F4D414E49464553542E4D46F34DCCCB4C4B2D2ED10D4B2D2ACE
CCCFB35230D433E0E5722E4A4D2C494DD175AA040998EB19C49B1A2A68F8172526E7A42A38E71715E417259600956BF272F1720100504B07088997400143000000
44000000504B03041400080808008B504F4500000000000000000000000023000000636F6D2F6D79636F6D70616E792F4D7946697273744A61766150726F632E63
6C6173739D556D771A55107E2E1076039B34254D524CA3F8D610F2826DB5DAD2569340EC564212A0A9296A5C961BBA29ECD2DD2526F51C3FFA1BEC273FF903E207
...