Previous Topic

Next Topic

What Is a Java Snippet?

The core of the stored procedure is the Java snippet. The snippet contains a sequence of Java statements. When it processes a CREATE PROCEDURE statement, c-treeACE SQL adds header and footer “wrapper” code to the Java snippet. This wrapper code:

When an application calls the stored procedure, c-treeACE SQL calls the Java virtual machine to invoke the method of the username_procname_SP class.