I have uploaded to oracle db (using loadjava) my java class file with a main and a public method in it. How can i call the main or the method in my java class and run it. Imagine the method in the class file adds two numbers or just gives a log comment. I just want to know how to execute a java callout.
1 Answer
you need to wrap your main function inside pl/sql function. Check CREATE FUNCTION syntax in pl/sql docs for more details.
1 Comment
Pawan Kumar Jha
Thanks.. I was able to do so using the link: docs.oracle.com/cd/B28359_01/java.111/b31225/chthree.htm