wood burning stoves 2.0*
The moose likes JDBC and the fly likes SQLException: unsupported construct or internal error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQLException: unsupported construct or internal error " Watch "SQLException: unsupported construct or internal error " New topic
Author

SQLException: unsupported construct or internal error

Joseph Leo
Greenhorn

Joined: Apr 13, 2004
Posts: 1
Hi,
I tried to run my SQL Command,
callStmt = connection.prepareCall("call TMP1.SP_TEMP(?,?,?)");
callStmt.setInt(1, iEmp);
callStmt.setInt(2, iEmp+1);
callStmt.registerOutParameter(3, Types.REF, "PROJECT_ID_TYP2");
callStmt.execute();
But, i got an exception ....
Exception in DAO getTimesheetData : java.sql.SQLException:
ORA-06553: PLS-707: unsupported construct or internal error [2604]
SQLException: ORA-06553: PLS-707: unsupported construct or internal error [2604]
SQLState: 65000
VendorError: 6553
I'm using Oracle 8.1.7 version.
Could anyone please give me a solution for this?
Thanks in Advance for the help!
Regards,
Joseph.
 
jQuery in Action, 2nd edition
 
subject: SQLException: unsupported construct or internal error
 
Similar Threads
problem calling stored procedure
help:java.sql.SQLException: ORA-06550
Don't work spatial index
Calling Oracle Stored Procedure
How to call stored procedure that returns a cursor