Oracle up gradation from 9207 to 9208 on SAP 4.0.B
We want to up grade oracle from 9207 to 9208 on SAP 4.0.B version(kernel 105).
The system running under HP-UX (version 11.11).
what are dependencies(check list) , which we have to check before doing this activity.
regards,
suri
Hi Kuldeep,
You only have to follow the readme.txt file that you´ll find in Patch 9.2.0.8 software. This file always show you the steps that you need perform applying the patch.
Hope this will help you.
Atos
Similar Messages
-
i have a database that is in 9207. I also have another server that has 9208 binary. If i were to upgrade the 9207 database to 9208, can i export from 9207 and import into 9208?
Thanks.Hi,
As Srini said 1step you have to upgrade db from oracle 9.2.0.7 to 9.2.0.8.
2nd step ...install oracle 11gr2 then fallow the manual or DBUA db upgrade methods ....
for manual upgrade ....refer ... Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1].
Complete Checklist to Upgrade the Database to 11gR2 using DBUA [ID 870814.1]
thanks,
DBC,
Sr DBA. -
Calling Oracle Discoverer Report from Apex
How to call Oracle Discoverer Report from apex application?
Thanks!The report is on a different data base ... need to create a process to get the data into the view behind the report and then materialized view in Apex etc .Then recreate the same report in Apex. But I am trying use the disc report url to invoke the report directly from apex.
Any suggestions or thoughts are greatly aprreciated. -
How to Open an Oracle Apps Screen from a web page
Hi,
We have requirement for Opening an Oracle Application screen (say sales order form) directly from a web page.
I could get the URL of the required screen, but the URL contains an ICX_TICKET number, which is generated dynamically by Oracle Apps. So I can't use a static URL for this.
Do you know how I can use or generate an ICX_TICKET in runtime? My user will have an active Oracle Application screen opened along with web page. He want to navigate to Oracle Apps screen from Web page. Hopes this makes the requirement more clear.
Thanks for your time,
AneeshHi Helios,
I have identified a function to generate ICX_ticket. By appending this ticket, I am able to open the Oracle Apps screen. Now, is there in implication on the security side, if I go ahead this way?
Function
fnd_gfm.one_time_use_store(icx_sec.GetSessionCookie(CZ_CF_API.ICX_SESSION_TICKET),300,'FORMS_APPLET')
Anyways, I am raising an SR as u suggested.
Thank you,
Aneesh -
Need to start a program in Oracle System (External) from sap program
Hi guys,
I need to start a program in another oracle based system from sap program by writing native sql statements.
Does anyone have idea how to do this.
Rgds,
RamHi,
Here is another sample for procedures.Kindly reward points by clicking the star on the left of reply,if it is useful.
Code Sample for writing a procedure with input and output parameters
REPORT zzz_jaytest.
* Getting the regno and total as input parameters
PARAMETERS : p_regno(10) TYPE c DEFAULT 'R1000',
p_total TYPE i.
data : v_total type i.
* In this procedure, we are updating the total of a regno given as input.
* Here two parameters used in the procedure are input parameters.
* We are updating the record of regno entered in selection screen and
* adding the total entered to the already existing total. We have to give semicolon
* for the statement inside procedure.
exec sql.
CREATE or replace PROCEDURE PROC1 ( p_regno in char, p_total in number )
IS
BEGIN
UPDATE stu_det SET total = total + p_total where regno = p_regno;
END;
endexec.
* This is the code to execute the procedure for update.
* While executing the procedure, the parameter variable should be
* preceded with colon :
EXEC SQL.
EXECUTE PROCEDURE PROC1 ( in :p_regno, in :p_total )
ENDEXEC.
* In this procedure, we are selecting the details for the regno entered
* as input. Here p_regno is input parameter and v_total is used as output
* parameter. So that we can use the retrieved value of v_total in our
* ABAP program
exec sql.
CREATE or replace PROCEDURE PROC2 (p_regno in char, v_total out char)
IS
BEGIN
select total into v_total from stu_det
where regno = p_regno;
END;
endexec.
* This is the code to execute second procedure.
EXEC SQL.
EXECUTE PROCEDURE PROC2 ( in :p_regno, out :v_total )
ENDEXEC.
write : / 'Total of ', p_regno, ' is ', v_total. -
How to fetch oracle process id from a stored procedure.
Hi,
I want to fetch the oracle process id from within a stored procedure.
I know that the one way to do this is using the v$process view. But, a grant has to be given to the user on this table. Due to the strict policies at my workplace, I do not have the permission to do this, nor can i ask anyone to give the grant. But, i need the oracle pid very much.
Is there an alternate way to get the oracle process id from within the stored procedure (without using the v$process view, like we have sys_context() to fetch session id without using v$session) ?
Any help would be appreciated.
Thanks,
APHi,
The point is i do not want to use v$process ( or v_$process) ,because i can not give the select grant to the user on this view. ( As i need to fetch it from a stored procedure, not from the SQL prompt).
Rahul , your query is correct. It fetches the values ( though i needed oracle process id not unix pid ; i would get it through p.pid), but i need an alternate approach to this.
Is there an alternate approach which would enable me to fetch the oracle process id ( without using any of the V$ - system views) ? Does Oracle has such a feature /approach ?
-AP -
Cannot connect properly to Oracle on Linux from Windows
Good day all,
I’ve got 2 virtual machines running on my Mac:
- Centos 5.4 with Oracle 11gR2
- Windows 2003 server with Oracle 10gR2
From Linux box I have access to Oracle database on Windows box (both directly and via a database link), however from Windows I have problems accessing the oracle database on the Linux box.
From Windows, if I try to set up a connection using Oracle’s SQL Developer using connection type “Basic”, I get “IO Error: The Network Adapter could not establish the connection”. When I use “TNS”, then it works.
From the linux box it all works fine as the “oracle” user, but when I log on as another user (in this case “informatica”) it doesn’t work properly any more.
To sketch what both environments look like.
Windows:
- Machine name WS2003Ora10g
- Etc/hosts
o 127.0.0.1 localhost
o #loopback adapter
o 192.168.12.100 localhost
o #network adapter
o 192.168.12.10 WS2003Ora10g
o # external machine
o 192.168.12.110 ilmserver
- system variables
o TNS_ADMIN, set to network/admin path in Oracle home dir
listener
C:\Documents and Settings\Administrator>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-AUG-2011 17:38:06
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 24-AUG-2011 16:29:33
Uptime 0 days 1 hr. 8 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WS2003Ora10g)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "ora10gr2" has 1 instance(s).
Instance "ora10gr2", status READY, has 1 handler(s) for this service...
Service "ora10gr2XDB" has 1 instance(s).
Instance "ora10gr2", status READY, has 1 handler(s) for this service...
Service "ora10gr2_XPT" has 1 instance(s).
Instance "ora10gr2", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Documents and Settings\Administrator>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-AUG-2011 17:40:43
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "ora10gr2" has 1 instance(s).
Instance "ora10gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:25 refused:0 state:ready
LOCAL SERVER
Service "ora10gr2XDB" has 1 instance(s).
Instance "ora10gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: WS2003ORA10G, pid: 2852>
(ADDRESS=(PROTOCOL=tcp)(HOST=WS2003Ora10g)(PORT=1031))
Service "ora10gr2_XPT" has 1 instance(s).
Instance "ora10gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:25 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Linux
- Machine name ilmserver
- Etc/hosts
o 127.0.0.1 localhost.localdomain localhost
o ::1 localhost6.localdomain6 localhost6
o 192.168.12.1 routerip rtrip
o 192.168.12.110 ilmserver ilmsvr
o 192.168.12.10 WS2003Ora10g winora
system variables (in bashprofile)_
o export PATH=$PATH:/usr/java/jdk1.7.0/bin
o export PATH=$PATH:/usr/sbin
o export PATH=$PATH:/sbin
o export JAVA_HOME=/usr/java/jdk1.7.0
o PATH=$PATH:$HOME/bin
o export PATH
o export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
o export ORACLE_BASE=/home/oracle/app/oracle
o export ORACLE_SID=orcl
o export TNS_ADMIN=$ORACLE_HOME/network/admin
o export ORACLE_HOSTNAME=ilmserver
o export PATH=$PATH:$ORACLE_HOME/bin
Both the "oracle" and the "informatica" user have these environment variables.
listener
Logged in as “oracle” user:*
[oracle@ilmserver ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-AUG-2011 19:12:35
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 24-AUG-2011 17:30:39
Uptime 0 days 1 hr. 41 min. 55 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/ilmserver/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@ilmserver ~]$ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-AUG-2011 19:13:28
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:19 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: ilmserver, pid: 9648>
(ADDRESS=(PROTOCOL=tcp)(HOST=ilmserver)(PORT=52395))
The command completed successfully
But logged in as “informatica” user I get following:
[informatica@ilmserver ~]$ lsnrctl status
bash: lsnrctl: command not found
[informatica@ilmserver ~]$ lsnrctl services
bash: lsnrctl: command not found
even though the oracle bin directory sits in PATH.
Pinging from windows:
C:\Documents and Settings\Administrator>ping ilmserver
Pinging ilmserver [192.168.12.110] with 32 bytes of data:
Reply from 192.168.12.110: bytes=32 time=1ms TTL=64
Reply from 192.168.12.110: bytes=32 time<1ms TTL=64
Reply from 192.168.12.110: bytes=32 time<1ms TTL=64
Reply from 192.168.12.110: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.12.110:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
That works fine.
Telnet from Windows:
C:\Documents and Settings\Administrator>telnet 192.168.12.110 1521
Connecting To 192.168.12.110...Could not open connection to the host, on port 1521: Connect failed
This result is the same for either just having port 1521 open, or turning the Linux firewall off altogether. Also same when using IP address.
Just to be complete, here are the results from the Linux box.
*[oracle@ilmserver informatica]$ ping WS2003Ora10g*
PING WS2003Ora10g (192.168.12.10) 56(84) bytes of data.
64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=1 ttl=128 time=1.63 ms
64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=2 ttl=128 time=0.222 ms
64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=3 ttl=128 time=0.255 ms
64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=4 ttl=128 time=0.258 ms
--- WS2003Ora10g ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.222/0.593/1.639/0.604 ms
*[oracle@ilmserver ~]$ telnet WS2003Ora10g 1521*
Trying 192.168.12.10...
Connected to WS2003Ora10g (192.168.12.10).
Escape character is '^]'.
... works for all users.
Checking out the port situation on Linux:
[informatica@ilmserver ~]$ netstat -an | grep 1521
tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:1521 127.0.0.1:43782 ESTABLISHED
tcp 0 0 127.0.0.1:1521 127.0.0.1:44290 ESTABLISHED
tcp 0 0 127.0.0.1:58289 127.0.0.1:1521 TIME_WAIT
tcp 0 0 127.0.0.1:58287 127.0.0.1:1521 TIME_WAIT
tcp 0 0 127.0.0.1:1521 127.0.0.1:43792 ESTABLISHED
tcp 0 0 127.0.0.1:54116 127.0.0.1:1521 ESTABLISHED
tcp 0 0 127.0.0.1:1521 127.0.0.1:44283 ESTABLISHED
tcp 0 0 ::ffff:127.0.0.1:54123 ::ffff:127.0.0.1:1521 ESTABLISHED
tcp 0 0 ::ffff:127.0.0.1:30135 ::ffff:127.0.0.1:1521 ESTABLISHED
unix 2 [ ACC ] STREAM LISTENING 129262 /var/tmp/.oracle/sEXTPROC1521
[ the sequence of dots means I took out a whole lot or lines with virtually the same information, only different port(s) ]
What’s noticeable is that port 1521 seems solely assigned to the localhost IP-address, 127.0.0.1.
Another thing I noticed is that from a different user in Linux, so not “oracle”, using SQL Developer I cannot access the local Oracle database via TNS. When choosing TNS the dropdown box for “Network Alias” – which normally is populated with entries from TNSNAMES.ORA – is completely empty. On a “users and groups” level I basically assigned all the groups the oracle user is member of, to the other user (called informatica).
And to make it even more interesting, at first it worked using “Basic” (in SQL Developer), but since implementing the TNS_ADMIN environment variable, it doesn’t work at all !!!
Trying it via SQLPLUS as the “informatica” doesn’t work either:
[informatica@ilmserver ~]$ sqlplus system
bash: sqlplus: command not found
I’ve assigned the “dba” group to “informatica”, or rather, I have assigned all groups to the “informatica” user as the “oracle” user has.
Needless to say I am no Linux expert, rather a quite inexperienced Linux-user.
So bottom line, the situation I’d like to be able to create is the following:
• Linux Oracle DB accessible from “informatica” (or any other) user on Linux, via both TNS and java-based
• Linux Oracle DB accessible from remote machine (running Windows 2003 server) via both TNS and java-based
• And for Informatica to work properly, it says it needs the TNS_ADMIN environment variable, so the “informatica” user must have full Oracle connectivity with TNS_ADMIN in place.
Any help is greatly appreciated.
Thanks, PatrickHi Billy,
Thanks for your elaborate answer.
Not sure whether I can use it though, since the application using the oracle database (i.e. Informatica ILM 5.3.2) appears to have a specific need for TNS.
I thought I had a solution (not the prettiest for sure) by just copying TNSNAMES.ORA to an accessible location, change ownership to "informatica" user, have TNS_ADMIN point to it, and Bob should be my uncle. Well... he isn't!
In SQL Developer when I choose TNS as connection type, the drop down box is STILL empty.....aaaaahhhh!!!!!
I was advised to play around with primary groups, so I tried oinstall and dba as primary groups for informatica user, all to no avail.
And I can't even test it with SQLPLUS because I don't have access to it as "informatica".
Who knows what the exact reason for that is... I know I'm a far cry from an experienced linux user, but I assumed that having the Oracle Home bin directory in PATH, and assigning the oinstall group to informatica user, would ensure access to to any executable in there. Well... NOT!!!
+[informatica@ilmserver ~]$ sqlplus system@orcl+
bash: sqlplus: command not found
This is driving me nuts. Thought that finding a solution for this wouldn't be this hard, but essentially I've been digging for 3 days now.
To provide more background, here are the env.variables:
[informatica@ilmserver ~]$ env
SSH_AGENT_PID=21054
HOSTNAME=ilmserver
DESKTOP_STARTUP_ID=
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/informatica/.gtkrc-1.2-gnome2
WINDOWID=262nnnnn
USER=informatica
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORACLE_SID=orcl
GNOME_KEYRING_SOCKET=/tmp/keyring-LXptz1/socket
ORACLE_HOSTNAME=ilmserver
ORACLE_BASE=/home/oracle/app/oracle
SSH_AUTH_SOCK=/tmp/ssh-CFDat21018/agent.21018
SESSION_MANAGER=local/ilmserver:/tmp/.ICE-unix/21018
USERNAME=informatica
TNS_ADMIN=/var/temp
MAIL=/var/spool/mail/informatica
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/informatica/bin:/usr/java/jdk1.7.0/bin:/usr/sbin:/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
DESKTOP_SESSION=default
GDM_XSERVER_LOCATION=local
INPUTRC=/etc/inputrc
PWD=/home/informatica
JAVA_HOME=/usr/java/jdk1.7.0
XMODIFIERS=@im=none
LANG=en_US.UTF-8
GDMSESSION=default
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=2
HOME=/home/informatica
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=informatica
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-axxxxxxxxo,guid=xxxxxxxxxxxxxxxxxxxxxxx
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/tmp/.gdmKEYS0V
Thanks, Patrick -
Steps to export and import oracle 10g databse from AIX to AIX and LINUX
Hi,
I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
Please give me all the steps as this is my first exort an import activity.
thanks,For 10g there exist two ways to do so.
1) Regular exp/imp.
2) Data pump expdp/impdp.
As this is your first export and import activity, relevant concept understanding is mandatory for you.
Documentation Link
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck. -
Oracle 10g update from 10.2.0.1 to 10.2.0.4
Hi all,
I like to update oracle 10g database from 10.2.0.1 to 10.2.0.4 by applying patch sets, would one please suggest me the best way.
I am planning to do in the way explained below
method:
# Install new Oracle Home
# Apply the patch to the new Home
# Shut down the database
# Change Oracle Home to the new location
# Start the database
Can you one suggest me how to do "Change Oracle Home of database to the new location" and back to older oracle_home incase if there are any issues, how to do and what changes requried to make database is run without any probs..
Thanks in advance..If you do it the best way is to read and follow the docs ... not ask strangers if they agree with a small number of bullet points.
But I disagree with your entire direction. 10gR2 goes into desupport mode at the end of this month. Why move to something that will be desupported before you get there? Why not 11.1.0.7 or 11.2.0.1?
If you must stay with 10g for awhile at least go to 10.2.0.5. -
Best way to import data to multiple tables in oracle d.b from sql server
HI All am newbie to Oracle,
What is the Best way to import data to multiple tables in Oracle Data base from sql server?
1)linked server?
2)ssis ?
If possible share me the query to done this task using Linked server?
Regards,
KoteRavindra.check:
http://www.mssqltips.com/sqlservertip/2011/export-sql-server-data-to-oracle-using-ssis/
koteravindra
Handle: koteravindra
Status Level: Newbie
Registered: Jan 9, 2013
Total Posts: 4
Total Questions: 3 (3 unresolved)
why so many unresolved questions? Remember to close your threads marking them as answered. -
Invoking Oracle stored procedures from within a JDBC channel for PI 7.1
Hi ,
Can anybody tell me that is it possible to invoke Oracle stored Procedure from within a JDBC sender channel for PI 7.1.
Its working in XI3.0 and XI 7.0 for Oracle DBMS versions >= 10.2.x. But I am not sure,whether it will work for PI 7.1 also.
Thanks & Regards,
SaruHI,
refer below link,there is no much difference in PI7.1 ,executing stored procedure is same .
http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/7b72b2fde93673e10000000a114a6b/content.htm
Regards,
Raj -
Problem in calling Oracle stored procedure from Java.
I am trying to invoke the Oracle stored procedure from Java. The procedure does not take any parameters and does not return anything. If I call it from SQL prompt it is working perfectly. I am calling it in my program as follows.
callable_stmt=con.prepareCall("{call pkg_name.proc_name()}");
callable_stmt.execute();
The problem is the control-of-flow is getting strucked in the second line I wrote. It is not giving any error also.
Please clarify me what's wrong with my code?
Seenu.And how long does the stored procedure take to run from your client machine when running it via sqlplus?
-
Calling Oracle stored procedure from xMII Query Templates.
Hi All,
We have a requirement to call a Oracle stored procedure from xMII, the SP expects some inputs and then it returns multiple rows.
I tried different approches with no results, I remember some posts on the same topic but I could not get in search results.
Looking for some help in this regards
Rupesh.Hi Rupesh Bajaj,
In oracle stored procedure we have to use Packages..if you used packages the u have to assign to some variable.
To calling Stored procedure in Query Template is CALL Testing('[Param.1]','[Param.2]',,:X)
In above line Testing is Stored procedure name and Param.1 is parameters and X is Package.
Thanks
Ravilla Ramesh -
How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?
How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?
Use <xsl:output mode="html" indent="no"/> as a top-level element child of your <xsl:stylesheet> element.
-
How to check Internal, Concurrent Manager status in Oracle Apps R12 from fr
Step by step how to check Internal, Concurrent Manager status in Oracle Apps R12 from front end and how to start them.
Richa wrote:
Step by step how to check Internal, Concurrent Manager status in Oracle Apps R12 from front end Concurrent Processing - Concurrent Manager Generic Platform Questions and Answers [ID 105133.1]
and how to start them1) Using adcmctl.sh (from the backend)
2) Using Activate button (from the front-end) -- http://docs.oracle.com/cd/E18727_01/doc.121/e12893/T174296T174302.htm#4334248
Thanks,
Hussein
Maybe you are looking for
-
The mini vga adaptor doesn't recognize the display help?
i am unable to connect my macbook pro to the projector through the mini vga adaptor .it shows a blue screen on connecting and then nothing happens.please suggest step by step procedure to get the display . the projector is of sony.any setting changes
-
Comcast Internet connection no longer works with Airport Express
This is a little bit out of my depth, so I'm hoping that someone can help me. I've been accessing Comcast High Speed Internet through my Airport Express connection for more than a year. Things were great until last week when my connection stopped wor
-
How can I load my java class dynamically ???
Hi guyz ! Please look on my problem: 1. I write code under Windows. 2. I have file testcls1.java with class by name 'TestCls1'. /package 'hs0'/ 3. I try to use method Class.forName. 4. File on disk is "c:/shttpsrv0/SrvFiles/java/testcls1.java". 5. I
-
What is the Tcode for Account Statement
Hi Gurus, What is Tcode for Accounts STatement. Please help, i have some work. regs rams
-
I have installed the card correctly and used the trtest.exe program supplied alongwith the card to communicate with the DMM using *IDN?,READ?. Successful!! But I am unable to communicate from Labview 6i using labview<->gpib.vi. What to be done to get