Problem running Oracle stored procedure in Java# Java - 爪哇娇娃
y*o
1 楼
I have never tried stored procedure in Java. So, I would like to give it a
shot.
I got the demo from Oracle and compiled this one: PLSQL.java, which is
attached in this post. This code uses Oracle XE's hr/hr schema. I've tried
some other code with plain SQL, and it runs just fine and returns employee
info from the employees table.
But, when I run this PLSQL, I get the following error, and I don't know what
it means. It looks like I get such error message for all codes involving
stored proced
shot.
I got the demo from Oracle and compiled this one: PLSQL.java, which is
attached in this post. This code uses Oracle XE's hr/hr schema. I've tried
some other code with plain SQL, and it runs just fine and returns employee
info from the employees table.
But, when I run this PLSQL, I get the following error, and I don't know what
it means. It looks like I get such error message for all codes involving
stored proced