• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

calling proc having collection as out parameter

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use PL/SQL functions to add business logic / modifications to a set of results. Rather than return just one value from an Oracle Procedure, can I use Oracle collections and objects(Specially using IS TABLE OF ) to return a set of results back to Java ?

I'm using Oracle 9i - and I've been fishing around at lots of documentation - but haven't found any magic answers yet.

i am facing error sqltype 2003 error

Would appreciate any advice....

Plz.........
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Abhishek,
You can return a REF CURSOR from a stored function. Search the AskTom Web site for more details.

Good Luck,
Avi.
 
Abhishek Jain
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Avi

Ur suggestion worked for me.....
am highly thank full to u

Regards
Abhi
reply
    Bookmark Topic Watch Topic
  • New Topic