CPU used by ORACLE
Hi,
on 11G R2, on Win 2008.
In Windows we can not see background process (mmon, pmon, ...). Can we ?
How to see CPU used by Oracle background process ?
To day CPU was used at 90% by oracle.
I ran an AWR. But nothing about them in it. I wonder why Oracle was CPU intensive ?
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 1.5 1.7 0.05 0.05
DB CPU(s): 0.9 1.0 0.03 0.03
Redo size: 3,294.8 3,914.9
Logical reads: 42,405.9 50,387.3
Block changes: 19.5 23.2
Physical reads: 14.8 17.6
Physical writes: 1.2 1.4
User calls: 27.2 32.3
Parses: 9.9 11.7
Hard parses: 0.2 0.2
W/A MB processed: 0.1 0.1
Logons: 0.3 0.3
Executes: 27.9 33.2
Rollbacks: 0.0 0.0
Transactions: 0.8
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.97 In-memory Sort %: 100.00
Library Hit %: 98.46 Soft Parse %: 97.94
Execute to Parse %: 64.67 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 10.90 % Non-Parse CPU: 99.92
Shared Pool Statistics Begin End
Memory Usage %: 81.43 83.60
% SQL with executions>1: 92.47 84.84
% Memory for SQL w/exec>1: 86.88 79.50
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
DB CPU 6,317 60.4
db file sequential read 44,888 2,407 54 23.0 User I/O
db file scattered read 5,522 441 80 4.2 User I/O
control file sequential read 4,725 268 57 2.6 System I/O
Disk file operations I/O 1,089 73 67 .7 User I/OThank you.
Hi,
You can go to TASK Manager -> click on Resource Monitor and there can see different services/processes along with the amount of CPU they are consuming.
Hope this helps you.
Regards,
Chirag
Similar Messages
-
Hi,
on 10 g R2, on Windows SEVER 2003
oracle user SCOTT connect from SQLPLUS and runs a large query. Is there any way to see how much CPU does he use ?
Thanks.CPU used by a user(session wise)
select a.sid, a.username, a.osuser, c.name, b.value
from v$session a, v$sesstat b, v$statname c
where a.sid = b.sid
and b.statistic# = c.statistic#
and c.name like '%CPU%'
and a.username='SCOTT'
order by a.sid, c.name
Per user (session wise) following information:
1.cpu usages
2.memory sorts
3.table scan
4.commit
5.cursor
6.physical reads
7.logical reads
8.BCHR (buffer cache hit ratio)
select a.sid, a.username, a.osuser, c.name, b.value
from v$session a, v$sesstat b, v$statname c
where a.sid = b.sid
and b.statistic# = c.statistic#
and (c.name like '%CPU%' or c.name like '%sorts (memory)%' or c.name like '%table scan%' or c.name like '%commit%' or c.name like '%cursor%' or c.name like '%read%' or c.name like '%buffer%' or c.name like '%cache%')
and b.value > 0
order by a.sid, c.name
If you have the licences for the diagnostic pack and performance pack, you can look at the active session history for this type of information. You can query view DBA_HIST_ACTIVE_SESS_HISTORY, or run the ashrpt.sql script from $ORACLE_HOME/rdbms/admin, or use OEM for a graphic representation of the workload over time.
HTH
Girish Sharma
Edited by: Girish Sharma on Dec 8, 2009 5:23 PM
"and a.username='SCOTT'" added. -
Try to get CPU usage from within Oracle by monitoring "CPU used by this session" parameter in v$sysstat, but got some values over 100%. Is my calculation wrong or this is the problem of how Oracle collecting the data? Here's my calculation: CPU Usage (percent) = round((end_value - begin_value) / time_in_seconds, 2)
Please don't double post: {thread:id=933247}
Thanks! -
Hi
I want to know about the memory usage,cpu usage and i want to check is there any io contention
i used top command and got the following output.
load averages: 6.31, 5.71, 5.45 03:00:10
206 processes: 199 sleeping, 7 on cpu
CPU states: 47.5% idle, 49.7% user, 2.8% kernel, 0.0% iowait, 0.0% swap
Memory: 128G real, 3218M free, 55G swap in use, 72G swap free
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
21947 oracle 2 0 0 0K 0K cpu/52 6:34 8.29% oracle
8816 oracle 2 10 0 0K 0K cpu/49 629:43 8.15% oracle
8087 oracle 2 0 0 0K 0K cpu/50 578:07 8.13% oracle
16828 oracle 2 0 0 0K 0K cpu/12 721:16 8.11% oracle
9253 oracle 2 0 0 0K 0K cpu/55 677:58 8.11% oracle
5122 oracle 2 30 0 0K 0K cpu/51 161:09 3.77% oracle
13254 oracle 2 42 0 0K 0K sleep 5:11 1.50% oracle
11499 oracle 2 52 0 0K 0K sleep 3:36 1.25% oracle
12759 oracle 2 33 0 0K 0K sleep 3:37 1.24% oracle
19578 oracle 2 59 0 0K 0K sleep 0:08 0.70% oracle
23188 oracle 2 59 0 0K 0K sleep 0:03 0.55% oracle
23190 oracle 2 59 0 0K 0K sleep 0:29 0.50% oracle
24789 oracle 2 59 0 0K 0K sleep 0:02 0.49% oracle
22434 oracle 2 59 0 0K 0K sleep 0:02 0.48% oracle
21484 oracle 2 59 0 0K 0K sleep 0:04 0.45% oracle
can anyone please help me to interpret the above?
ThxHi ora,
the top output don't tell me diddly-squat except that your load looks high and it looks like your swap might be an issue (but it could have been just pasted badly).
What is your problem... Is your database performance slow? Then use something like an AWR report to track the issue.
Is your OS performance bad? Then preferably ask your sysadmin to track the issue, but you can use commands like iostat, sar etc. to track contention on the OS.
You can look at /proc/meminfo for more info on memory.
I will say a good starting point will be to give us more info, Oracle and OS version and state your problem clearly.
Regards -
How do I use the Oracle Developer Reporting Control in Visual Basic 6.0?
I was wondering how to use the Oracle Developer Reporting Control componant in Visual Basic 6.0 to generate reports in Oracle Reports? Any help would be appreciated.
Hi Rohit,
Would like to ask you some questions about the oracle report with Visual Basic.
1. I have a report built in oracle report. Currently there is a Visual Basic program want to pass some parameter to this report. Can Visual Basic program pass the parameter to this oracel report?
2. Based on yr answer, do i have to installed the oracle report? or just copy and register the Rwsxa60.ocx (i'm using oracle report 6i) in the PC? So can i use this activeX control.
3. Is this activeX control similar to Crystal report object which can found in VB?
4. Is there an example/guide on how the Visual Basic pass the parameter to oracel form?
Your answer will be much appreciated.
Thanks.
Regards,
Hock Leong -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
How to I get music I purchased before the iCloud was created to show up on my new authorized iPhone? Right now I can only see the Apps I recently purchased on the actual phone but older music I purchased on my CPU using the same Apple ID doesn't appear.
Does any music show in the Purchased tab on the iTunes store app on your phone ? Music can't be re-downloaded in all countries, and even where it can be it will only appear whilst it remains in the store. Do you have your purchases on your computer and/or on a backup of your puchases so that you can sync them to your phone ?
-
Want to use single oracle home for multiple database releases
Hi,
I have following 3 different databases.
Oracle7 Server Release 7.3.4.4.0
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
I want to access these databases using single oracle home. Please advise which client version I have to install to access these. I tried using Oracle Release 9.2.0.1.0 client but I am not able to connect to oracle 7 by using this.I am ready to have multiple oracle homes.But what client version I have to install and where can I get it.Your help will be highly appreciated.... and 7 is using oracle 8.1.7 client.From your sales representative. 8i is no longer available for downloading,because desupported since many years.
Werner -
Insert data 32K into a column of type LONG using the oracle server side jdbc driver
Hi,
I need to insert data of more than 32k into a
column of type LONG.
I use the following code:
String s = "larger then 32K";
PreparedStatement pstmt = dbcon.prepareStatement(
"INSERT INTO TEST (LO) VALUES (?)");
pstmt.setCharacterStream(1, new StringReader(s), s.length());
pstmt.executeUpdate();
dbcon.commit();
If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
even if the string s exceeds a length of 32767 bytes.
I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
Any idea would be appreciated.
Thomas Stiegler
nullIn rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
Known Problems/Limitations In This Release
<entries 1 through 3 omiited for brevity >
4. The Server-side Internal Driver has the following limitation:
- Data access for LONG and LONG RAW types is limited to 32K of
data. -
What are the UI components used in oracle adf?
what are the UI components used in oracle adf?
Web.:
- ADF Faces and Trinidad JSF components
http://docs.oracle.com/cd/E28280_01/apirefs.1111/e12419/toc.htm
Desktop:
- MS Excel
http://www.oracle.com/technetwork/developer-tools/adf/overview/index-085534.html
Mobile
- AMX UI Components for Android and iOS
Frank -
What XA JDBC driver should I use with Oracle 8i 8.1.6
I need to use an XA JDBC driver for Oracle 8i 8.1.6. I am using the driver in
a ConnectionPool in a TxDataSource for use by some entity beans using EJB 2.0.
I'm running WebLogic Server 6.0 sp2, EJB 2.0, Java 2 SDK 1.3.1 Server VM, Solaris
2.7, and Oracle 8i 8.1.6.
I know of three different Oracle XA drivers: WebLogic jDriver for Oracle XA, Oracle
OCI type 2 driver XA, and Oracle Thin tyoe 2 XA. Are there any other drivers
that I can use for Oracle 8.1.6? Which driver and which version should I use?
For example, can I use the Oracle 8.1.7 JDBC drivers with the Oracle 8.1.6 server,
or would the Oracle 9i drivers work with the Oracle 8i server? Which drivers
are faster, and which support more features? I assume that I should not use the
type 4 driver since I am not using an applet, but I don't know if there are bugs
in the OCI C library for Solaris or in the JDBC drivers that use it that prevent
XA from woking. Which version of the Oracle C OCI library should I use if I use
a type 2 driver?
Thanks,
Ross GoldbergHi,
I think you can't use the 8.1.6 thin driver for XA, you would have to
use the OCI driver or 2PC-enable your datasource. AFAIK this has been
changed for 8.1.7
Check http://e-docs.bea.com/wls/docs61/////jta/thirdpartytx.html.
Daniel
-----Original Message-----
From: Gene Chuang [mailto:[email protected]]
Posted At: Thursday, August 30, 2001 2:04 AM
Posted To: jdbc
Conversation: What XA JDBC driver should I use with Oracle 8i 8.1.6
Subject: Re: What XA JDBC driver should I use with Oracle 8i 8.1.6
I've asked this question before. This is the reply from Joe
Weinstein:
For reliability and JDBC 2.0 compliance, I recommend the
Oracle thin driver.
If not that driver, you should verify that a type-2 driver
actually does
deliver better performance, but then I would not have a
strong preference
between their type-2 and ours. Theirs may be faster, and JDBC
2.0 compliant.
Both are succeptible to OCI bugs, some of which only they can
fix, but we
listen.
Gene
"Ross Goldberg" <[email protected]> wrote in message
news:[email protected]...
>
I need to use an XA JDBC driver for Oracle 8i 8.1.6. I am using thedriver in
a ConnectionPool in a TxDataSource for use by some entity beans usingEJB 2.0.
I'm running WebLogic Server 6.0 sp2, EJB 2.0, Java 2 SDK 1.3.1 ServerVM, Solaris
2.7, and Oracle 8i 8.1.6.
I know of three different Oracle XA drivers: WebLogic jDriver forOracle XA, Oracle
OCI type 2 driver XA, and Oracle Thin tyoe 2 XA. Are there any otherdrivers
that I can use for Oracle 8.1.6? Which driver and which versionshould I use?
For example, can I use the Oracle 8.1.7 JDBC drivers with the Oracle8.1.6 server,
or would the Oracle 9i drivers work with the Oracle 8i server? Whichdrivers
are faster, and which support more features? I assume that I shouldnot use the
type 4 driver since I am not using an applet, but I don't know ifthere are bugs
in the OCI C library for Solaris or in the JDBC drivers that use itthat prevent
XA from woking. Which version of the Oracle C OCI library should Iuse if I use
a type 2 driver?
Thanks,
Ross Goldberg -
What are the common APIs we use in oracle interface
What are the common APIs we use in oracle interface,and any APIs are there for validation Of data During Tranfer to interface table.
How to find Api s in oracle applications in Individual modulesFor 11i, all public APIS are listed at http://irep.oracle.com
For R12, use the "Integration Repository" responsibility in your R12 instance to list the APIs available in that instance
HTH
Srini -
Getting exception using 11G oracle driver
upgraded oracle database from 10G to 11G, and I made the following changes in my application for 11G:
- Updated [ORACLE_HOME]/jdbc/lib/ojdbc6.jar to the CLASSPATH
- Application uses JDK 1.6 (compilation & runtime)
I started 20 instances of my application on Linux box and half of the application instances failed & threw the following exceptions, but when I used 10G Oracle client jar, all the instances comes up fine. Why is 11G Oracle client jar behaving differently than 10G jar? Why am I able to bring only 10 instances up and not all (20) when i used 11G Oracle jar file?
Oracle 11G version: 11.1.0.6.0
Oracle 10G version: 10.2.0.3.0
Oracle 11G client jar: ojdbc6.jar
Oracle 10G version: ojdbc14.jar
Here is the exception I'm getting:
ERROR 02 Aug 2009 01:24:23,488 [main] DelegatingDataSource - java.sql.SQLRecoverableException: Io exception: Connection reset
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:281)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:118)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:224)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:296)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:611)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:455)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:494)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:199)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:494)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:398)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:287)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:268)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:136)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:2188)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:640)
at oracle.jdbc.pool.OracleImplicitConnectionCache.defaultUserPrePopulateCache(OracleImplicitConnectionCache.java:239)
at oracle.jdbc.pool.OracleImplicitConnectionCache.<init>(OracleImplicitConnectionCache.java:198)
at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleConnectionCacheManager.java:390)
at oracle.jdbc.pool.OracleDataSource.cacheInitialize(OracleDataSource.java:617)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:572)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:251)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:204)
at com.cme.fest.framework.persistence.jdbc.datasource.DelegatingDataSource.getConnection(DelegatingDataSource.java:98)
Any help or ideas would be really appreciated.java.sql.SQLRecoverableException: Io exception: Connection reset
Please refer
Closed connection error when connection isn't being closed -
Using Refcursor in Callable Statement without using the Oracle Drivers
Hello all,
Is there anyway to have a stored procedure (Oracle 8i) return a refcursor to my CallableStatement without using the Oracle Thin drivers (i'm now using jdbcodbc). I've tried registering my out parameter with every possible type i can think of...REF, JAVA_OBJECT, OTHER, etc. but with no luck.
Help!!!!Certainly...I connect to the database using the
jdbcodbc driver and when i execute any of the code, i
get the following error:
java.sql.SQLException: [Oracle][ODBC][Ora]ORA-06550:
line 1, column 7:
PLS-00306: wrong number or types of arguments in call
to 'PVISUAL_GET'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
It's bombing on the line that i attempt to register
OracleTypes.CURSOR. It works fine when i use the
oracle thin drivers, but i want to get this puppy
working with the JdbcOdbcDriver. Here's the code:
CallableStatement dbCall =
nt dbCall =
(CallableStatement)connection.prepareCall("{ call
PAK_VISUAL_GET.pvisual_get(?, ?, ?, ?, ?, ?) }");
dbCall.setString(1, sessionKey);
dbCall.setInt(2,
l.setInt(2, Integer.parseInt(storedVizID));
dbCall.registerOutParameter(3,
arameter(3, OracleTypes.CURSOR);
dbCall.registerOutParameter(4,
arameter(4, OracleTypes.NUMBER);
dbCall.registerOutParameter(5,
arameter(5, OracleTypes.VARCHAR);
dbCall.registerOutParameter(6,
arameter(6, OracleTypes.NUMBER);
dbCall.execute();when you don't use oracle thin driver, you cannot use the OracleTypes. but, instead use the java.sql.Types values.Replace dbCall.registerOutParameter(3, OracleTypes.CURSOR); with
dbCall.registerOutParameter(3,java.sql.Types.OTHER). things should be fine.
Ganesh -
Hi
In oim11g in the api packages like below
oracle.iam.identity.usermgmt.api
oracle.iam.identity.usermgmt.vo
From architecture standpoint what is the use of oracle.iam.identity.usermgmt.api and oracle.iam.identity.usermgmt.vo packages.
How to use them?
Thanks
/SI want to share some more.
You will find lots of VOs (Value Objects similar to Transfer Objects) exposed in OIM 11g for efficient data transfer, story behind is that they have implemented well design pattern.
Transfer Object & Value Objects :-
http://patternsj2ee.blogspot.com/
http://rrees.wordpress.com/2007/05/13/transfer-objects-versus-value-objects/
Maybe you are looking for
-
Removing a device from my iCloud account
How do I remove my iPhone 4S from my iCloud account. I now have an iPhone 6+ and it lists both phones. Managing my account doesn't allow for this action.
-
quicktime wont open and when i try installing itunes it says quicktime is not installed but it IS cus after i installed it it said quicktime installation complete
-
i cant restart my macbook into win 7 when running mac leopard. and i cant access and edit the bootcamps data
-
Hp dv6 2001-au DVD ROM not working
My DVD RW drive shows blank dvds but it cannot read any cd or dvd. is it damaged? This question was solved. View Solution.
-
Safari (Mavericks) crashes when going to fullscreen.
Safari is crashing whenever I try to go into fullscreen mode with it. All I do is open safari up, click fullscreen, and it crashes. No tabs are open. Here is the crash report. Thanks in advance for any help! Process: Safari [1021] Path: