I created a simple Java program that connects to SAP using JCo and then I publish it to Oracle as a Java stored procedure. I tried running it by creating a SQL function but I received the following error message:
ERROR at line 1:
ORA 29515: exit called from Java code with status 1
My intent is to integrate Oracle and SAP. By using a table trigger, the stored procedure will connect to SAP using JCo.
This may well be an Oracle problem. Ask them whether calling JCo from a stored procedure is supported at all.
Dig Deeper on SAP Java and J2EE
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.