This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes java.sql.SQLException: ORA-06550: line 1, column 13 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "java.sql.SQLException: ORA-06550: line 1, column 13" Watch "java.sql.SQLException: ORA-06550: line 1, column 13" New topic
Author

java.sql.SQLException: ORA-06550: line 1, column 13

nadjim chetbani
Greenhorn

Joined: Feb 10, 2003
Posts: 2
Hi,
Thanks for ur reply. I tried it. But, it seems i cant call a function using callable statement. Bcos, it gave the error as
********************************************************
java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'JAVA_XA.XA_START_NEW' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
...
...
*********************************************************
I have declared and defined MYRECRTN as function inside mypackage. I prepared the callable statement using "{call mypackage.myrecrtn()}".
Is there any other way to call a function from java???
Thanks in advance,
Nadjim
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1112

Nadjim,
According to your error message, the problem is not with your java code (that invokes the "myrecrtn()" procedure), but with the "myrecrtn()" procedure itself.
It looks like the "myrecrtn()" procedure is a java stored procedure, correct?
Can you successfully execute "myrecrtn()" from SQL*Plus?
Would it be possible to see the code for "myrecrtn()"?
Cheers,
Avi.
nadjim chetbani
Greenhorn

Joined: Feb 10, 2003
Posts: 2
Thanks for our reply.
Yes, I Can execute "myrecrtn()" successfully from SQL*Plus !
Thanks in advance,
Nadjim
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.sql.SQLException: ORA-06550: line 1, column 13
 
Similar Threads
Calling a function vs a procedure on Oracle with CallableStatement
Urgent
Can a oracle Stored procedure return a cursor as a return value?
problem while accessing stored procedure in oracle
Problem calling IN parameters Stored Procedure from Java