This sample demonstrates the invocation of a stored procedure in Java (SPJ).


Statement
===========================================
	"/tmp" is a server-side path where the SPJ jar files are located.


Generate the jar file by running build.xml, which is located in the samples directory.
===========================================
	ant build.xml

Copy the jar file to the system where your instance is running.
===========================================
		cp samples/target/qaspj.jar /tmp
Note: 
	1.The sample will create and drop the SPJ via the CREATE/DROP PROCEDURE statement by indirectly using qaspj.jar.
	2.The jar file must be copied to all nodes in a cluster environment.

Compiling the Java files
===========================================
	On Windows Platform:
		cd samples\CallableStatementSample
		%JAVA_HOME%\bin\javac -classpath ..\..\lib\jdbcT4.jar *.java ..\common\*.java
	On Linux:
		cd samples/CallableStatementSample
		$JAVA_HOME/bin/javac -classpath ../../lib/jdbcT4.jar *.java ../common/*.java
Note: Make sure there are no compilation errors displayed on the screen.

Executing CallableStatementSample
===========================================
	On Windows Platform:
		cd samples\CallableStatementSample
		%JAVA_HOME%\bin\java -classpath ..\..\lib\jdbcT4.jar;..;. -Dt4jdbc.properties=..\t4jdbc.properties -DserverJarPath=/tmp CallableStatementSample
	On Linux:
		cd samples/CallableStatementSample
		$JAVA_HOME/bin/java -classpath ../../lib/jdbcT4.jar:..:. -Dt4jdbc.properties=../t4jdbc.properties -DserverJarPath=/tmp CallableStatementSample
			
	A successful execution of the sample will produce output similar to the following:
		<DATE, TIME> common.sampleUtils getPropertiesConnection
		INFO: DriverManager.getConnection(url, props) passed
		Out parameter is 100
