Help on CachedRowSet with setDataSourceName for Oracle needed

Hello users,
I am using WL6.1. and SUN's CachedRowSet. It works fine with setURL and it is very
fast with Oracle's oci thin driver. One more time for BEA people: oracle.jdbc.driver.OracleDriver
is more than 3 times faster than weblogic.jdbc.oci.Driver. Of course when I do setURL,
it bypasses WL and go directly to the database. And it is not using any connection
pool manager such as WL.
I would like to use WL's datasource. However, the problem is when I do CachedRowSet.setDataSourceName(jndiname)
with proper JNDI name, Sun's CachedRowset could not figure out what WLInitialContextFactory
is (it must have its own hard-coded context factory which I don't know what it is
therefore it can not create a connection from it). The exception thrown says "(JNDI)
Unable to connect".
Can anyone tell me how to make it work? (How to use setDataSourceName for CachedRowSet
for WL). The key is what ContextFactory to use.
Thanks in advance.
L.W.X.

I am assuming there is some reverse proxy web server with OAM WebGate which is fronting the tomcat and JBoss servers. Also, assuming you are using FQDNs throughout.
Is the ObSSOCookie sent when you access the external applications after logging into portal? It should help to look through the HTTP headers. Also, it could be an issue with authentication levels/IP validation failure - these should show up in the WebGate logs.
-Vinod

Similar Messages

  • Sun Solaris 10,Upgrade 8 or higher,having issues with VxFS,for Oracle 11gr2

    A while ago, we tried doing a prototype upgrade of our main Oracle 10g db to Oracle 11gr2.
    The OS on which our Oracle 10g is running is Sun Solaris 10, upgrade 4.
    According to Oracle 11gr2 documentation, we need Sun Solaris 10, upgrade 6 or higher for Oracle 11g2.
    The filesystem we are using is VxFS, Veritas File System.
    According to our system administrator, we had issues , making Sun Solar 10, upgrade 8 , work with the VxFS filesystem.
    I was wondering if anybody is running Oracle 11g2 on Sun Solaris 10 upgrade 6 or higher with VxFS file system.
    At present, our Oracle db upgrade project is on a hold, because of the above issue. So your help on this , can really help us in figuring out if there is an issue between VxFS filesystem and Sun Solaris 10 OS.
    Thanks
    Ashish

    Hi Ashish,
    We are not running Veritas Cluster file system.
    We tried moving our Oracle 10g r2 db on ZFS ,before doing the upgrade and performance on ZFS was worst.
    ZFS has certain memory parameter setting. If you did not configure that then ZFS will eat your complete system memory.
    My system administrator, has gotten a copy of Solaris 10 upgrade 9 and will try that with VxFS.
    I was curious to find out if folks are running Oracle 11g on Sun Solaris 10 with VxFS file system and if they had experienced any issue.If you can Install Vxfs on Oracle Soalris 10 U9, then according to me there sholudn't be any limitations for an oracle database.
    Recently i installed Oracle database 11.2.0.2 on one of my test server. I have created two databases - one on ZFS and another on ASM.
    Refer:
    http://appsdbaworkshop.blogspot.com/2010/10/installation-of-11202-on-oracle-solaris.html
    We dont have any performance issues. We are testing it for the performance benchmarks on both of the filesystem.
    If you can Install Vxfs on Oracle Soalris 10 U9, then according to me there sholudn't be any limitations for an oracle database.
    Regards,
    X A H E E R

  • Setting isolation level with JDriver for Oracle/XA

    edocs (http://e-docs.bea.com/wls/docs70/oracle/trxjdbcx.html#1080746) states that,
    if using jDriver for Oracle/XA you can not set the transaction isolation level
    for a transaction and that 'Transactions use the transaction isolation level set
    on the connection or the default transaction isolation level for the database'.
    Does this mean that you shouldn't try to set it programatically (fair enough)
    or that you can't set it in the weblogic deployment descriptor either? Also anybody
    got any idea what the default is likely to be if you are using an Oracle 9iR2
    database? Is this determined by some database setting?

    IJ wrote:
    edocs (http://e-docs.bea.com/wls/docs70/oracle/trxjdbcx.html#1080746) states that,
    if using jDriver for Oracle/XA you can not set the transaction isolation level
    for a transaction and that 'Transactions use the transaction isolation level set
    on the connection or the default transaction isolation level for the database'.
    Does this mean that you shouldn't try to set it programatically (fair enough)
    or that you can't set it in the weblogic deployment descriptor either? Also anybody
    got any idea what the default is likely to be if you are using an Oracle 9iR2
    database? Is this determined by some database setting?The system should honor the setting defined in the deployment descriptor,
    however, for oracle it may not be helpful to change it. Oracle provides two
    isolation levels. The default is always READ_COMMITTED. The other
    setting is SERIALIZABLE, but this hurts performance, and is also problematic
    in the way oracle implements it. For instance, even if you set SERIALIZABLE,
    oracle will not lock read data. It will allow other transactions to read and/or
    alter data trhat another ongoing SERIALIZABLE transaction has read. The
    only way to really lock read data in oracle is to issue oracle-specific SQL in
    your select: "SELECT ..... FOR UPDATE".
    All in all, you should collect a strong case for why you can't proceed with
    READ_COMMITTED first. Then you should research oracle's recommendations
    (and their problem record) with SERIALIZABLE.
    Joe Weinstein at BEA

  • Issue with .profile for oracle 9i and 10g

    Here I have six oracle 9i databases on one box. I am going to upgrade five of them to oracle 10g and want to keep one database RCAT in oracle 9i for one or two week.
    So, when I do upgrade I have to setup oracle home for 10g and also profile for oracle user for 10g (correct me if I m wrong). But now I want one database RCAT on oracle 9i. How can I take care of this.
    I mean how I will handle profile and all other thing for oracle 9i and 10g at the same time.
    Thanks,
    Vishal

    Install 10g under the same OS user as 9i, of course on a different Oracle Home. Then you configure your .profile consequently. Just as an example, this is my .bash_profile with 10g and 11g with the same oracle OS user :
    [oracle@linux5 ~]$ cat .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi
    export EDITOR=vi
    export ORACLE_BASE=/home/oracle/base
    umask 022
    o10()
    {       export ORACLE_SID=db102
            export ORACLE_HOME=$ORACLE_BASE/OraHome10
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
            export PS1='[\u@\h_10 \W]\$ '
    o11()
    {       export ORACLE_SID=db11
            export ORACLE_HOME=$ORACLE_BASE/OraHome11
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export PS1='[\u@\h_11 \W]\$ '
    s()
    {       sqlplus / as sysdba
    asm()
    {       export ORACLE_SID=+ASM
    db10()
    {       export ORACLE_SID=db102
    db11()
    {       export ORACLE_SID=db11
    asm10()
    {       export ORACLE_SID=asm10
    [oracle@linux5 ~]$

  • Problems with TDP for Oracle

    Hello, I'm having problems setting up TDP for Oracle. When I run a backup, I get the following error stack from RMAN:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on t1 channel at 02/21/2007 09:40:52
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
    IBM AIX RISC System/6000 Error: 106: Reserved errno was encountered
    Additional information: 7011
    ORA-19511: Error received from media manager layer, error text:
    SBT error = 7011, errno = 106, sbtopen: system error
    I'm running AIX 5.2, TDP 5.3, level 3
    Oracle version 9.2.0.4
    My libobk.a file is linked in the following manner
    libobk.a@ -> /usr/lib/libobk64.a
    /usr/lib/libobk64.a@ -> /usr/tivoli/tsm/client/oracle/bin64/libobk64.a
    I'm not sure if the version of AIX i'm running is 64 bit or not, does anyone know how I can check this?
    Oh and the sbtio.log file is empty.

    Check this website for the error stack:
    http://www-1.ibm.com/support/docview.wss?uid=swg21197242
    This command will tell you 32 or 64 bit, more exactly when it is 32bit you will see bos.64bit not installed.
    lslpp -l bos.64bit
    Werner

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • How To Set Up Airport Express To Use With iPad2 For My Needs ?

    On the advice of several people in a audio forum, I just purchase an Apple Airport Express. I will be using it with my new iPad 2. What I need to accomplish is using my iPad2 to stream subscription based music from the internet to the Airport Express, and for the Airport Express to connect via toslink cable to the DAC in my audio system.
    What I am not sure about is how to set up my Airport Express to accomplish this. I do have a wireless network in my home, but wish to keep the wireless connectivity between the Airport Express and the iPad2 separate from it.
    I would greatly appreciate any assistance with this. Thanks.

    Deggie, firstly, thank you for your attempt to help. I greatly appreciate it. I connected it via the ethernet cable to the router since when I reconfigured the Airport Express adding it to my existing wireless system, the iPad could not connect to anything until I unplugged the Airport Express. I set it up for an ethernet connection to my router based on that experience.
    Either the Ipad does not seem able to send anything to the Airport Express, or the AEX is not passing anything on. I also tried streaming a song stored on the iPad 2 to the AEX with no result, so it is not an issue with the subscription channel.
    I don't own a miniplug cable of any sort for further testing, but the toslink cable is brand new, and was literally taken out of its package and plugged in, so I feel it extremely unlikely it is the issue. I've also tested it in three inputs on the DAC, so it is definitely not an issue with it.
    I have a question though. You said "when you start your subscription and go to Airplay, does the iPad see the AEX?" You may be on to something there. How do I "go to Airplay" I thought it was just automatic?  Also, how do I "select it"? This may be the problem.

  • Error with Agent for Oracle 9i Developer Suite

    Hello!
    I installed the Oracle9i Developer Suite (Release 2, 9.0.2) and now have an error message from Windows when I start the PC. The message states that the program agntsrvc.exe isn't working. When I check in the services, under Conrol Panel, then adminstrative tools, I find the display for the 9i Developer Suite agent with the message 'stopping' for status, and automatic for startup type. Also, while it is in this state, my Outlook Express program won't start.
    Thus far, I handled it by right clicking on the agent name in Services and clicking start. This resulted in an error from Windows stating it couldn't start the program agntsrvc.exe. The display in the services status window for the 9i Developer Suite agent became blank, and now the Outlook Express program starts up.
    Any ideas are appreciated. So far, apparently the 9i Developer Suite agent is still not started, though the status field is still blank as I type this up.
    My operating system is XP Professional, with plenty of both RAM and hard disk space.
    Thanks very much,
    -- Bill Loggins

    Well, the errors are here... in Summit Application Setup, while importing the dump to oracle 9i database
    D:\summit>imp userid=summit/summit@sage file=summit.dmp full=y
    Import: Release 10.1.0.4.2 - Production on Tue Jul 8 22:01:47 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Personal Oracle9i Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export file created by EXPORT:V08.01.06 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    IMP-00003: ORACLE error 2248 encountered
    ORA-02248: invalid option for ALTER SESSION
    IMP-00000: Import terminated unsuccessfully

  • Arbitrary object types in PL/SQL call with OCI for Oracle 9.2

    Hi,
    i'm trying to develop a generic library that is able to execute a call to a pl/sql with a generic list of types.
    If the objects are native (i.e. number, varchar2...) works fine, but i cannot understand how to do the same with a generic user defined object.
    For example:
    CREATE OR REPLACE TYPE A AS object (
         B     VARCHAR2(40),
         C          CLOB
    CREATE OR REPLACE TYPE D AS object (
         E     A
    And the pl/sql:
    CREATE OR REPLACE PACKAGE PLSQL_EX IS
         PROCEDURE exempl (inInfo IN OUT D);                                   
    END PLSQL_EX ;
    Do you have an example of how to do this ??, obviously i dont whant to use the OTT, because i want the maximum level of flexibility. I think i have to use the OCIObjectNew functions and the related ones, but i don't know how.
    thanks.
    Best regards,
    Stefano.

    Hi,
    i'trying to solve the problem with this code (just use of set Object attribute and get object Attribute) , but it doesn't work:
    #define SQLCA_NONE
    #define ORACA_NONE
    EXEC SQL BEGIN DECLARE SECTION;
         sql_context sqlCtx;
         char* dbName = "dbName";
         char* oraPwd;
         char* oraConnection;
         char* oraUsr;
    EXEC SQL END DECLARE SECTION;
    #include <iostream.h>
    #include <stdlib.h>
    #include <string>
    #include <sql2oci.h>
    extern "C" {
         #include <orid.h>
    sword checkErr(sword status, OCIError * error)
         text errbuf[512];
         sb4 errcode = 0;
         int     errorCode = 0;
         string     errorDesc;
         switch (status) {
              case OCI_SUCCESS:
                   break;
              case OCI_SUCCESS_WITH_INFO:
                   OCIErrorGet((dvoid *)error, (ub4) 1, (text *) 0, &errcode, errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
                   errorDesc = (char *)errbuf;                    
                   cout << "error: " << errorDesc << endl;
                   break;
              case OCI_NEED_DATA:
                   cout << "warning: NEED DATA"<< endl;
                   break;
              case OCI_NO_DATA:
                   cout << "warning: NO DATA" << endl;
                   break;
              case OCI_ERROR:
                   OCIErrorGet((dvoid *)error, (ub4) 1, (text *) 0, &errcode, errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
                   errorDesc = (char *)errbuf;
                   cout << "error: " << errorDesc << endl;
                   break;
              case OCI_INVALID_HANDLE:
                   cout << "error: INVALID HANDLE" << endl;
                   break;
              case OCI_STILL_EXECUTING:
                   cout << "error: STILL EXECUTING" << endl;
                   break;
              case OCI_CONTINUE:
                   cout << "error: CONTINUE" << endl;
                   break;
              default:
                   cout << "error: ???" << endl;
                   break;
         return status;
    int main ()
         OCIType *           tdo;
         dvoid *           objectPointer;
         dvoid *          null_struct =(dvoid*) 0;
         OCIString *          message4AB= (OCIString *)0;
         OCIInd                ind4AB = OCI_IND_NOTNULL;
         ub4 len[] = {1};
         const char *attrName[] = {"B"};
         dvoid *               attr_null_struct =(dvoid* ) 0;
         OCIString*           newString = (OCIString*) 0;
         OCIType *          attr_tdo;
         OCIInd                newIndMessage = OCI_IND_NULL;
         OCITypeCode           typecode ;     
         OCIEnv *     mEnvHandler;
         OCISvcCtx *      mSvcEnv;
         OCIError *     mErrorHandler;
         oraUsr = (char*) "gpridb";
         oraPwd = (char*) "gpridb";
         oraConnection = "ic9su002";
         sqlca sqlca;
         EXEC SQL CONTEXT ALLOCATE :sqlCtx;
         EXEC SQL CONTEXT USE :sqlCtx;
         EXEC SQL CONNECT :oraUsr IDENTIFIED BY :oraPwd AT :dbName USING :oraConnection;
         if (SQL_ERROR == SQLEnvGet(sqlCtx, &mEnvHandler) ) {
              cout << "Error during creation of environment Handler"<< endl;
              exit (1);     
         if (SQL_ERROR == SQLSvcCtxGet(sqlCtx, (text *)dbName, (ub4) strlen(dbName), &mSvcEnv )) {
              cout << "Error during creation of svc Environment"<< endl;
              exit (1);     
         if (SQL_ERROR == OCIHandleAlloc( mEnvHandler, (dvoid **) &mErrorHandler, (ub4) OCI_HTYPE_ERROR, 0, (dvoid **) 0)){
              cout << "cannot initialize error handler" << endl;
              exit (1);
    checkErr (OCITypeByName ( mEnvHandler,mErrorHandler,mSvcEnv,(text *) 0,(ub4) 0,
                   (const text *) "A", (ub4) strlen ("A"),
                   (const text *)0, (ub4) 0,OCI_DURATION_SESSION,OCI_TYPEGET_ALL, &tdo),mErrorHandler);
    checkErr( OCIObjectNew ( mEnvHandler, mErrorHandler, mSvcEnv,OCI_TYPECODE_OBJECT,tdo, (dvoid*)0,
                   OCI_DURATION_SESSION,true ,&objectPointer),mErrorHandler);
    checkErr(OCIObjectGetInd (mEnvHandler, mErrorHandler,
    objectPointer, &null_struct ),mErrorHandler);
    checkErr(OCIStringAssignText (mEnvHandler,mErrorHandler, (text *) "INVIO",
    strlen ("INVIO") ,&message4AB),mErrorHandler);
    cout << "Value in string: " << (char *) OCIStringPtr(mEnvHandler, message4AB) << endl;
    checkErr(OCIObjectSetAttr (mEnvHandler, mErrorHandler, objectPointer, null_struct,
    tdo, (const text **) attrName , len, (ub4) 1,(ub4 *) 0,
    (ub4)0, ind4AB, &attr_null_struct,
    (dvoid *) message4AB),mErrorHandler);
    checkErr (OCIObjectGetAttr(mEnvHandler, mErrorHandler, objectPointer, null_struct, tdo,
                   (const text **) attrName, len, 1, (ub4 *)0, (ub4)0, &newIndMessage,&attr_null_struct,
                   (void **) &newString, &attr_tdo),mErrorHandler);
    typecode = OCITypeTypeCode(mEnvHandler, mErrorHandler, attr_tdo);
    if (newIndMessage == OCI_IND_NULL) {
              cout << "null"<< endl;
    } else {
         cout << "indicator: " << newIndMessage << endl;
         switch (typecode)
         case OCI_TYPECODE_DATE : /* fixed length string */
              cout << "date" << endl;
              break;
         case OCI_TYPECODE_RAW : /* RAW */
              cout << "raw" << endl;
              break;
         case OCI_TYPECODE_CHAR : /* fixed length string */
         case OCI_TYPECODE_VARCHAR : /* varchar */
         case OCI_TYPECODE_VARCHAR2 : /* varchar2 */
              cout << "vc" << endl;
              break;
         case OCI_TYPECODE_SIGNED8:
              cout << "sign" << endl;
              break;
         case OCI_TYPECODE_UNSIGNED8:
              cout << "uns" << endl;
              break;
         case OCI_TYPECODE_OCTET:
              cout << "octet" << endl;
              break;
         case OCI_TYPECODE_UNSIGNED16: /* UNSIGNED SHORT */
         case OCI_TYPECODE_UNSIGNED32: /* UNSIGNED LONG */
         case OCI_TYPECODE_REAL: /* REAL */
         case OCI_TYPECODE_DOUBLE: /* DOUBLE */
         case OCI_TYPECODE_INTEGER: /* INT */
         case OCI_TYPECODE_SIGNED16: /* SHORT */
         case OCI_TYPECODE_SIGNED32: /* LONG */
         case OCI_TYPECODE_DECIMAL: /* DECIMAL */
         case OCI_TYPECODE_FLOAT: /* FLOAT */
         case OCI_TYPECODE_NUMBER: /* NUMBER */
              cout << "num" << endl;
              break;
         default:
              cout << "defaut" << endl;
              break;
         char p = (char ) OCIStringPtr(mEnvHandler, newString);
         cout << " read from object (" << typecode << "): " << (char *) OCIStringPtr(mEnvHandler, newString) << endl;
    the output is:
    Value in string: INVIO
    indicator: 0
    vc
    read from object (9): @|

  • Problem using associative arrays in vb6 with ORAOLEDB for Oracle 10g

    The following vb6-code works fine with MS OLEDB (in MDAC 2.8) but not with Oracles OLEDB for 10g. Any suggestions for making it work?
    'vb6-code:
    Set rs = New ADODB.Recordset
    Set rs.ActiveConnection = oConn 'oConn is already initiaded - code not included here.
    rs.Source = "{call PCK_PW_RF_PERSON.P_PW_BIRTHDAY('BURSDAG','2008','01',{resultset 200000, PARAM1,PARAM2,PARAM3})}"
    rs.LockType = vntLockType
    rs.CursorLocation = adUseClient
    rs.CursorType = vntCursorType
    rs.Open
    Databaseobjects involved:
    PACKAGE "PCK_PW_RF_PERSON" IS
    TYPE     tpv_param1     IS TABLE OF VARCHAR2     INDEX BY BINARY_INTEGER;
    TYPE     tpv_param2     IS TABLE OF VARCHAR2     INDEX BY BINARY_INTEGER;
    TYPE     tpv_param3     IS TABLE OF VARCHAR2     INDEX BY BINARY_INTEGER;
    PROCEDURE P_PW_BIRTHDAY
         pv_i_sreportid          IN VARCHAR2,
         pv_i_year          IN VARCHAR2,
         pv_i_month          IN VARCHAR2,
         PARAM1               OUT tpv_param1,
         PARAM2               OUT tpv_param2,
         PARAM3               OUT tpv_param2
    IS
         CURSOR X IS select '1' AS PARAM1,'2' AS PARAM2,'3' AS PARAM3 FROM DUAL;
         i NUMBER DEFAULT 1;
    BEGIN
         FOR c IN X LOOP
              PARAM1(i)           := c.PARAM1;
              PARAM2(i)           := c.PARAM2;
              PARAM3(i)          := c.PARAM3;
              i := i + 1;
         END LOOP;
    END P_PW_BURSDAG;

    I receive this error:
    "ORA-06550: line 1, column 111:
    PLS-00201: identifier 'PARAM1' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored"

  • Help Please!! Script for table needed.

    Hi,
    I'am formating a table in Indesign with figure in the cell like for example $(123.45) and theres a lot if it. I need to separate or move the $ sign to previous column and the closing parenthesis to the next column. What I do is to insert new column before and after then copy and paste the $ to previous column and the parenthesis to the next. Is there anyone knows to automate this using script.
    Thanks,
    DennisM

    dennismacaburas wrote:
    I'am formating a table in Indesign with figure in the cell like for example $(123.45) and theres a lot if it. I need to separate or move the $ sign to previous column and the closing parenthesis to the next column. What I do is to insert new column before and after then copy and paste the $ to previous column and the parenthesis to the next. Is there anyone knows to automate this using script.
    If your tabel isn't too complicated you can use this workaround:
    1) convert table to text with TAB separator
    2) replace "^t$(" to "^t$^t("
    3) replace ")" to "^t)"
    4) convert text to table
    But what with "(" ?
    Do you want to have this:
    $ | (123.45 | )
    or
    $( | 123.45 | )
    robin
    www.adobescripts.com

  • Oracle Reports with graphics for Oracle App R11i 11.5.9 ??

    Hii
    Can i develop Oracle Reports with Graphics ( basic header,footer,logo ) and register it with Oracle Apps R11i 11.5.9 and be able to view it as an end user.
    If yes then how ?
    Regards
    Fahad Hameed

    Hii Guys
    I've developed a report with a basic Header.BMP file and it runs fine on local.
    How will it run on Oracle Apps is the question that i need to find answers to .
    Regards
    Fahad Hameed

  • Creating an enhanced ebook in epub format with video for iPad, need guidance

    Has any one done this before? I just found this and it is the perfect solution for what I am trying to accomplish. Here is a screen shot of a and enhanced ebook i dowloaded from the apple book store.
    http://oi51.tinypic.com/2lub9g2.jpg Just wondering what the best way to go about laying this out, seems like ibooks formats all the epubs to look the same. Thanks

    If you want to make a publication from InDesign to iPad, you can also use Adobe Digital Publishing Suite. With it you can add videos to InDesign layout. Videos has to be H.264 encoded, but you can do that with Adobe Media Encoder which is free utility, comes with indesign CS5... and after finishing layout, you can bundle the whole thing to iPad App...(this is strongly simplified description of the process... but anyway, it´s possible)

  • Please help GW letters and address for BOA, NEED ADVICE!

    Ok!, so i paid off a collection i had for a old BOA CC and i want it to be removed from my CRs. How should i go about doing that? Are there any emails, mailing addresses, etc. i should know about?

    winchestertherealtor wrote:
    Ok!, so i paid off a collection i had for a old BOA CC and i want it to be removed from my CRs. How should i go about doing that? Are there any emails, mailing addresses, etc. i should know about?I would Google BoAs headquarters address and mail the GW letter to the office of the CEO. Good luck  http://ficoforums.myfico.com/t5/Rebuilding-Your-Credit/GW-letter-Q-amp-A-Examples-and-GW-Success-Stories/td-p/1573680

  • Help! Problems with downloads and in need of these programs.

    I have tried many times to download the programs Adobe Flash Player and Adobe Reader. But when I execute the program, it says it's not in the computer and automatically erases the download. How can this be fixed?

    Use the offline installers.
    Adobe Reader: http://get.adobe.com/reader/enterprise/
    Flash Player Windows: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header
    Flash Player Mac OS: http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg

Maybe you are looking for

  • Install failure - Windows 8.1

    I have the subscription version and tried to install Lightroom 5 however it fails with Exit Code 7. Error: Install MSI payload failed with error: 1624 - Error applying transforms.  Verify that the specified transform paths are valid. MSI Error messag

  • WiFi Was Greyed out

    My iPhone's WiFi was working great on iOS 6.0.1 till 13th Feb'13 no problems whatsoever, until yesterday it failed over night without me knowing. The WiFi option was still available but unable to connect to my home network and when I rebooted the pho

  • JNI where to put the jnilib?

    I have a smal calculating code, and need it fast done, therefore I will use the JNI. On MacOSX there is no problem doing this with a dylib, compile the dylib, compile the jnilib put them in the Bundle .. ready to deploy. Easyly done. On WIN I get a m

  • Uregent

    Hi Experts,               Please let me know the types of <b>events</b> available in Table Maintanance generator. The correct answers will be prmptly rewarded. With Regards, Murthy.

  • My ear pods are not working.

    Volume doesnt work. Answer button doesnt work. I've tried with 2 different ears pods. Same problem. It has worked before. Plz Help