0

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 1

1

you need to wrap your main function inside pl/sql function. Check CREATE FUNCTION syntax in pl/sql docs for more details.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks.. I was able to do so using the link: docs.oracle.com/cd/B28359_01/java.111/b31225/chthree.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.