Follow the steps.
1 - Make a java class
For example:
Code :
Public class SimpleJava {
public void main(String[] args) {
System.out.println("Here we are");
}2- Now we need to load this class in the Database
Code :
Oralce_home / bin > loadjava -user scott/tiger SimpleJava.class3- Now we need to create a procedure or function that uses that class.
For example
Code :
create or replace procedure call_simplejava
as language java
name 'SimpleJava.showMessage()';Kindly visit this link for details
http://www.oracle-training.cc/teas_elite_util9.htm


Article Sections
Categories
Recent Article Comments
Currently Active Users

Hey,

I am getting an error:
cannot find ucm.sql in the drive where oracle is installed.
...
Installing Stellent or Oracle Universal Content Management
Prachi on 07-23-2010