ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » JDBC-adapter fails to call an oracle stored procedure

Post new topic  Reply to topic
 JDBC-adapter fails to call an oracle stored procedure « View previous topic :: View next topic » 
Author Message
gisly
PostPosted: Thu Apr 25, 2013 3:42 am    Post subject: JDBC-adapter fails to call an oracle stored procedure Reply with quote

Apprentice

Joined: 10 May 2012
Posts: 29

Hi!
I have problems using a Websphere adapter for JDBC in order to call an Oracle stored procedure. I haven't found any similar postings here with the questions answered.
The procedure looks like this:
Code:
create or replace
PROCEDURE sp_myproc(par_out OUT SYS_REFCURSOR)
as
begin
    open par_out  for select * from my_table;
end;

I have generated the BO definition using ODA. I have also read this:http://pic.dhe.ibm.com/infocenter/dmndhelp/v7r0mx/index.jsp?topic=%2Fcom.ibm.wsadapters.jca.jdbc.doc%2Fdoc%2Fcjdb_ov_storedproc_bo.html
My question is how to specify the ASI for the RetrieveSP correctly?
If I use:
Code:
SPN=sp_myproc;RS=true;OP=RS
,
I get the following error: "ResultSet as output parameter for Stored Procedure not supported for database Oracle and JDBC Driver oracle.jdbc.OracleDriver".
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » JDBC-adapter fails to call an oracle stored procedure
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.