• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

JDBC call to PLSQL block having Oracle type object parameter

Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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. :

Watchya got in that poodle gun? Anything for me? Or this tiny ad?
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic