• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC call to PLSQL block having Oracle type object parameter  RSS feed

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I have been atempting migration from Oracle 9i to 10g(both app server and DB) for my application and am stuck on two issues related to Oracle TYPE parameters.

1. When the "Type" parameter in IN/OUT we get the "protocol violation" error, and if we change the parameter to just IN
it completes the JDBC call successfully without error.
2. Irrespective of the TYPE paramter being just IN or IN/OUT some values seem to be lost when call is made.

The code snippet below replicates what is happening in my applcation and output printed in the end, any suggestions are highly appreciated.


These are the environment details

App server version : Oracle Application Server 10g
Database version : Oracle Database 10g Enterprise Edition Release - 64bit
JDBC ver. :

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!