8.1.6 JDBC OCI drivers ??

where can I find this OCI Drivers for NT?
I found them only for Solaris...
Thank's

Yes. I have been using the 8.1.6 OCI driver with JDK 1.2 for about a month now...

Similar Messages

  • Installing 8.1.6 OCI drivers with 8.1.5 RDBMS

    Hi,
    I developpe an application in java 1.2.2 which have to connect to an
    Oracle 8.1.5 Database.
    Or 8.1.5 OCI or thin Driver don't support java 1.2.x so I try to use
    8.1.6 OCI with 8.1.5 Database as it is said in JDBC FAQ :
    "JDBC 8.1.6 drivers can talk to RDBMS 8.1.6, 8.1.6sdk, 8.1.5, 8.0.6,
    8.0.5, 8.0.4 and 7.3.4."
    "8.1.6 OCI and THIN Driver - JDK 1.1.x and JDK 1.2.x"
    I would prefer to use OCI Driver due to performance so I would like to
    know how can I install 8.1.6 OCI Driver? Should I install a 8.1.6 Client
    to connect to an 8.1.5 Database?
    Thanks,

    all jdbc oci drivers require the matching client install on the same platform.
    (i.e. The 817 JDBC oci driver requires the RDBMS 817 client install, etc.)

  • How do you install the JDBC-OCI patch for a Windows NT4 IFS Installation?

    I am about to install IFS on a Windows NT4 Server. I dont understand the instructions for installing the JDBC-OCI patch.
    How do you install the JDBC-OCI drivers?
    Do I install them after installing Oracle 8.1.6? and before installing IFS?
    Is it necessary to install them?
    I would be grateful for as much help as possible, I have never done anything like this before.
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jaikishan Tada, Oracle Support:
    Before installing iFS, you need to install
    Oracle8i Client (with Administrator option).
    This installs JDBC-OCI driver and other
    common Oracle components such as Net8,
    OEM ....
    The JDBC-OCI driver patch is available from
    technet to download. Go to the url - http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
    and download Oracle8i 8.1.6.0.1 JDBC Drivers for use with JDK 1.1.x.
    Apply the patch and carry out iFS installation/configuration.
    Go through the iFS installation guide.
    Good Luck,<HR></BLOCKQUOTE>
    null

  • OCI Drivers in JDBC receiver

    Hi All,
    Brief Scenario: Insert data to CLOB field (source field may be more than 4000kb). Requirement to use OCI drivers in JDBC receiver adapter.
    When calling Stored Procedure to insert CLOB data field, exception thrown by AE or Oracle server:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_ORDERS' (structure 'STATEMENT'): java.sql.SQLException: ORA-00932: inconsistent datatypes: expected %s got %s
    I want to confirm whether SAP support OCI drivers using Stored Procedure?.
    Thanks,
    Rajesh Yallabandi

    Not solved... work around alternate solution.
    Edited by: sappi71 on Jun 20, 2011 10:38 PM

  • JDBC/OCI driver for JDK1.2

    Hi,
    I have an evaluation copy of Oracle8 version 8.0.3.0 and
    downloaded the JDBC/OCI driver for JDK1.1 (classe111.zip). The
    example I used was also taken from this site, which connects to
    the database and lists ename from emp, using scott/tiger.
    Everything worked fine under JDK1.1 but I can't get the code to
    work with JDK 1.2
    Does Oracle provide a JDBC/OCI driver that will work with JAVA
    1.2 or am I missing something. Please note that I am not using
    Oracle8i.
    Any assistance would be greatly appreciated.
    Karim
    null

    Karim,
    Openlink Software (http://www.openlinksw.com) provides JDBC 2.0
    drivers in version 3.2. This version will be hitting our public
    web site next week, but you can get pre-release components from
    ftp://ftp.openlinksw.com/pre-3.2/index.html
    The JDK 1.2 drivers are all the way at the bottom under the
    Windows section.
    HTH,
    Stephen
    Karim (guest) wrote:
    : Hi,
    : I have an evaluation copy of Oracle8 version 8.0.3.0 and
    : downloaded the JDBC/OCI driver for JDK1.1 (classe111.zip). The
    : example I used was also taken from this site, which connects
    to
    : the database and lists ename from emp, using scott/tiger.
    : Everything worked fine under JDK1.1 but I can't get the code
    to
    : work with JDK 1.2
    : Does Oracle provide a JDBC/OCI driver that will work with JAVA
    : 1.2 or am I missing something. Please note that I am not using
    : Oracle8i.
    : Any assistance would be greatly appreciated.
    : Karim
    null

  • Jdbc oci interface and xdb API for oracle 9.2.0.7

    I have a Java application that uses the jdbc oci interface to connect to an Oracle database and insert some XML into an XMLType column using the XDB APIs provided in xdb.jar.
    OS : IBM AIX version 5.1
    JVM : IBM 32-bit SDK pour AIX, Java 2 Technology Edition, version 1.4.2
    libraries used :
    ojdbc14.jar
    nls_charset12.jar
    xdb.jar
    xmlparserv2.jar
    libocijdbc9.so
    with Oracle 9.2.0.1 the application worked correctly. However we have just upgraded from Oracle 9.2.0.1 to Oracle 9.2.0.7 and now the JVM crashes when the XMLType.createXML(java.sql.Connection, java.lang.String) API is called. The error message is :
    JVMDG217: Dump Handler is Processing Signal 11 - Please Wait.
    JVMDG303: JVM Requesting Java core file
    JVMDG304: Java core file written to /<snip>/javacore2375690.1152115549.txt
    JVMDG215: Dump Handler has Processed Exception Signal 11.
    start.shl: 2375690 Segmentation fault(coredump)
    In the javacore file we find the lines :
    1XHSIGRECV SIGSEGV received at 0xdd7b7d6c in /<snip>/libocijdbc9.so. Processing terminated.
    ... <snip> ...
    "Thread-2" (TID:0x3030B4D8, sys_thread_t:0x75A8B128, state:R, native ID:0xA0C) prio=5
    4XESTACKTRACE at oracle.xdb.XMLType.createXMLTypeFromStringNative(Native Method)
    4XESTACKTRACE at oracle.xdb.XMLType.<init>(XMLType.java:518)
    4XESTACKTRACE at oracle.xdb.XMLType.createXML(XMLType.java:593)
    Does anyone have any ideas? Changing the version from 9.2.0.7 is not an option.
    Thanks,
    Dave Gosling.

    The 9.2.0.5 patchset, and all patchsets, are available for download from Metalink.
    There should be a rather large variety of JDBC drivers that will connect to an 9.2.0.5 database if that's what you're asking about.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • JDBC OCI-8

    I want to use the Oracle OCI drivers. In Jdeveloper 3.1 s Connection Manager when I select Oracle JDBC OCI-8 Driver and if I click on Test Connection button I am getting the following Error Message.
    Error Message: No ocijdbc8 in java.library.path
    Dose any one knows about this? If so, Please let me know.
    Thanks
    Srini
    null

    you have to install client 8.1.6
    Ofir
    [email protected]

  • Cursor Parse Exception With OCI Drivers

    I am getting the following Error if I call an Oracle Function with two
    Params. Based on the values of parameters the where clause is changed but
    returns the same Resultset. If I already have called the fucntion once and
    then pass different values to the parameters I get the following erros.
    I am closing the Connection, Resultset, and Callable statement at the end of
    my call to the Function.
    I am using OCI Drivers
    I am using Bind Variables in Oracle Function.
    Here is the Error
    Label Code is SMOCONTESTS
    java.sql.SQLException: ORA-01475: must reparse cursor to change bind
    variable da
    tatype
    at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:238)
    at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java:869)
    at weblogic.jdbcbase.oci.Statement.execute(Statement.java:1364)
    at
    weblogic.jdbc.pool.PreparedStatement.execute(PreparedStatement.java:4
    5)
    at
    weblogic.jdbc.rmi.internal.PreparedStatementImpl.execute(PreparedStat
    ementImpl.java:289)
    at
    weblogic.jdbc.rmi.SerialPreparedStatement.execute(SerialPreparedState
    ment.java:398)

    Make sure ORACLE_HOME is properly set in your environment.
    Also WLS is not able to find the library in PATH env variable.
    Otherwise do this
    java -Djava.library.path=$WL_HOME/bin/oci815_8 etc. etc.. weblogic.Server
    where WL_HOME is your weblogic installation directory and i assume you want to
    use oci815 or load the
    appropriate dll.
    Hope this helps
    Let us know if you still see problems.
    Kumar
    Lee Mei Wah wrote:
    Hi
    I've the problem of creating the oracle connection pool wtih error
    message:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError with the
    message 'no weblogicoci36 in java.library.path'.
    I'm running Weblogic 5.1 and oracle8.0.5 on NT.
    Has anyone got a solution for that?
    Lee
    "Jennifer Yang" <[email protected]> wrote in message
    news:3998a1d1$[email protected]..
    I was running batch update example, and I ran into the same problem, buton
    NT.
    What do I need to do?
    We are using WebLogic 5.1
    Jennifer
    "Kelvin Yip" <[email protected]> wrote in message
    news:3994602b$[email protected]..
    I think you may have followed their documentation and it is wrong. You
    may
    have set your LD_LIBRARY_PATH to
    oci80x_x but you should look for ...weblogic/lib/soloris/oci80x_xinstead.
    You are picking up the NT dll not the soloris so.
    "Sudharsan Srinivasan" <[email protected]> wrote in message
    news:39919e36$[email protected]..
    Hi I'm using the WebLogic's driver. It is giving the following error
    when
    I try to start the connection pool.
    "<JDBC Pool> Failed to create connection pool "oraclePool"
    <JDBC Pool> weblogic.common.ResourceException:
    weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: System.loadLibrary threwjava.lang.UnsatisfiedLinkError
    with the message 'no weblogicoci34 in java.library.path'."
    I'm running WebLogic 4.5.2 and I have setup the LD_LIBRARY_PATH.
    Thanks in advance.
    -Sudharsan.

  • JDBC-OCI (8.1.6) - Weblogic

    Hi,
    I am trying to get weblogic 4.5 to connect to an Oracle 8i database.
    The database and listener are operating fine, but so far I cannot connect from weblogic.
    1) What type is the JDBC-OCI driver for 8.1.6 (supporting JDK 1.2)?
    2) Do I need to install the OCI driver as well as the JDBC driver on the weblogic server? If so, where do I get the OCI driver?
    Regards,
    Ultan
    [email protected]

    Your questions are confusing. You seem to consider OCI Driver and JDBC Driver as 2 versions of drivers, but in reality the former is a type of the latter.
    Oracle supplies 2 types of JDBC drivers, i.e., Type II, or the OCI driver, and Type IV, the Thin driver. They are both contained in the classes111 or classes12.zip file. To use the OCI driver, you need to install the Oracle Client Library (OCI library).
    To use these drivers with WebLogic, you need to include the path to the classes111.zip file in your weblogic.class.path variable in the startWebLogic.bat or .sh script file, or set it in the Windows Registry.
    Eric Ma

  • OCI drivers on Linux

    Hello, I am running weblogic and using Oracle's thin drivers. I
    would like to reconfigure and use the OCI drivers instead. How
    exactly do I do this?
    -- thanks
    null

    ORACLE_HOME=/opt/instantclient_10_2
    export ORACLE_HOMEYou don't set ORACLE_HOME with Instant Client.
    PATH=$PATH:$LD_LIBRARY_PATH
    export PATHThis is unnecessary.
    CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
    export CLASSPATHThis is wrong.
    It should be:
    CLASSPATH=/opt/instantclient_10_2/ojdbc14.jar:<whatever else you need there>
    Java.library.path=/opt/instantclient_10_2
    export Java.library.pathThis is useless; java.library.path is not an environment variable.
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.pathThe case is pretty clear. You want to use the OCI driver (your URL starts with "jdbc:oracle:oci:"), so the Java Virtual Machine is looking for libocijdbc10.so in the Java library path but cannot find it.
    What is also clear is that the program does not use the CLASSPATH environment variable you set, because then it would never have found the Oracle Driver.
    So it seems that your program is ignoring the environment you set (which would explain why it also ignores LD_LIBRARY_PATH which you set correctly).
    You must have the environment variables set and exported in the shell that starts the "java" executable.
    Also, check that there is no other ojdbc14.jar on this machine (use "find").
    To help you debug your problem, let me explain how Sun Java sets Java library path on Linux:
    - If you start java with "java -Djava.library.path=/some/dir:/other/dir ...", the Java library path is set to exactly that value.
    - If you do not specify -Djava.library.path, the Java library path is taken from the environment variable LD_LIBRARY_PATH.
    - Directories listed in /etc/ld.so.conf have no influence on the Java library path (which gave me quite a headache in the beginning).
    Do you really need the OCI Driver? If you can do with the Thin Driver (i.e., use an URL that starts with "jdbc:oracle:thin:") you don't need any shared libraries at all.
    Yours,
    Laurenz Albe

  • NCHAR, NVARCHAR2 with JDBC THICK drivers

    Hi,
    I am using weblogic Thick jdbc drivers. We have a requirement of storing data
    in multiple languages. So we have added two columns in the oracle 9i table with
    data type NCHAR and NVARCHAR2.
    I tried the code using Oracle jdbc thin drivers. Its working fine.
    But when I tried with weblogic thick drivers its not able to read the data...
    Its reading null values.
    Any suggestions/links/guidelines would of great help.
    Thanks & Regards,
    Purvesh Vora

    Purvesh Vora wrote:
    Hi,
    I am using weblogic Thick jdbc drivers. We have a requirement of storing data
    in multiple languages. So we have added two columns in the oracle 9i table with
    data type NCHAR and NVARCHAR2.
    I tried the code using Oracle jdbc thin drivers. Its working fine.
    But when I tried with weblogic thick drivers its not able to read the data...
    Its reading null values.
    Any suggestions/links/guidelines would of great help.
    Thanks & Regards,
    Purvesh VoraHi. Our type-2 driver (weblogic.jdbc.oci.Driver) uses Oracle's OCI, which
    may need some OCI-specific charset properties and/or environment variables
    set for what you need. Please check our docs. I wouldn't expect nulls though,
    maybe corrupted data, but not nulls... What happens if you try Oracle's own
    thick driver? (all you would need to do is to change their URL).
    Joe

  • Dowload JDBC-OCI / NT

    I need to download JDBC-OCI / NT the link (http://download.oracle.com/otn/utilities_drivers/jdbc/901/JDBC_901_NT.zip) is broken pleace send my by mail [email protected]
    thanks

    Is there anyone who can answer this simple question ?. I thought I downloaded an Oracle 8.1.6, jdk 1.2 version a few weeks ago.
    I have a problem using JDBC-OCI in Visual Age. Can't locate 'ocijdbc8 in java.library.path'.
    I've seen several references to Oracle OCI drivers using deprecated JAVA 1.0 NMI(Native Method Interface). I understand Visual Age only supports JNI which Sun says we should all be using.
    I apologise if the question(s) have been asked before, but
    Does Oracle produce an NT JDBC - OCI driver
    Do Oracle JDBC drivers support native code through JNI
    Many Thanks
    Robert
    null

  • AIX JDBC OCI Driver

    I'm using IBM's WebSphere JDBC connection pool to manage oracle
    connections. While the code worked normally on Sun Solaris, I
    get ORA-03123, ORA-03127 etc errors on AIX. I'm closing the
    resultsets, the statement handles and releasing the connection
    after each SQL execution. Is this an AIX JDBC OCI driver problem
    or am I missing something.
    Thanks,
    Ravi
    null

    I found problem like you but on DIGITAL UNIX 4.0D It's an
    AIO Consistency Error.. did you know some thing about this??
    and For your question OCI7 driver to connect to ORACLE7.3.4 are
    in liboci73.so or another extension depend on your OS (I don't
    know what's one on AIX) but it must come with Oracle
    Installation Package you can install on AIX :>
    Prashant (guest) wrote:
    : Hi:
    : Does any one know where I could find JDBC/OCI level 2 driver
    : for AIX (4.2) running Oracle (7.3.4). All I have been able to
    : locate is the NT and Solaris. Both contains classes and shared
    : libraries for that machine. I saw someone posted this question
    : before, however, suggestions was to use dynamic library
    generated
    : for Solaris, this will not work. Does anyone have other
    : suggestions.
    : Any and all help is appreciated.
    : Many Thanks
    : Prashant.
    null

  • Oracle 8.1.5 and JDBC OCI connection problem

    We are running Oracle 8.1.5 on Solaris 7 machine, and our java application running on JDK 1.2 connects to Oracle via JDBC thin driver because we couldn't make jdbc oci driver work.
    When we try to connect via oci with the driver originally shipped with 8.1.5, we get:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:213)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at JDBCTest.main(Compiled Code)
    After we downloaded 8.1.6sdk driver from technet and install it, we get:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:471)
    at java.lang.System.loadLibrary(System.java:745)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at JDBCTest.main(Compiled Code)
    I searched this forum for answer and only relevent answer from oracle was: consult README file! Readme file mentions that lobocijdbc.so file is shared library file for oci connection. That't all. So what?
    I added the directory where libocijdbc8.so resides to LD_LIBRARY_PATH, and System.getProperty("java.library.path") shows content of LD_LIBRARY_PATH correctly.
    null

    Please this is not simple as simple as checking the classpath and LD_LIBRARY_PATH.
    I tried the sample program and the result is the same. As pointed out first by Won, putting the libocijdbc8.so from SDK8.1.6 in the LD_LIBRARY_PATH has no effect at all. It gives the unsatisfied linker error. The sample program fails. However the sample program works fine with the libocijdbc8.so from sdk8.1.5. The library gets loaded. But at the time of creating the connection it gives make_c_state error.
    Here is my CLASSPATH, PATH and LD_LIBARY_PATH variables
    ORACLE_HOME=/opt/oracle/product/8.1.5
    LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/opt/oracle/product/8.1.5/lib
    PATH=/usr/openwin/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/opt/oracle/product/8.1.5/lib
    Hope you are able to provide better answer then check your environment variables.
    THE libocijdbc8.so FROM SDK8.1.6 DOES NOT GET LOADED AT ALL.
    Waiting for the reply.
    Please Help.
    Regards,
    Vipul Modi.
    Novell Inc.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Won, Taewoong([email protected]):
    We are running Oracle 8.1.5 on Solaris 7 machine, and our java application running on JDK 1.2 connects to Oracle via JDBC thin driver because we couldn't make jdbc oci driver work.
    When we try to connect via oci with the driver originally shipped with 8.1.5, we get:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:213)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at JDBCTest.main(Compiled Code)
    After we downloaded 8.1.6sdk driver from technet and install it, we get:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:471)
    at java.lang.System.loadLibrary(System.java:745)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at JDBCTest.main(Compiled Code)
    I searched this forum for answer and only relevent answer from oracle was: consult README file! Readme file mentions that lobocijdbc.so file is shared library file for oci connection. That't all. So what?
    I added the directory where libocijdbc8.so resides to LD_LIBRARY_PATH, and System.getProperty("java.library.path") shows content of LD_LIBRARY_PATH correctly.
    <HR></BLOCKQUOTE>
    null

  • I can access a function in a package using OCI drivers but not PDO drivers

    Hello all, i am a newbie to Oracle and its drivers for PHP. I would like to use PDO, and I have my database activity in packages, which have procedures and functions. My package has overloaded functions and that has been giving me a tough time with these drivers. So one signature of my function get_data contains a four arguments and all four are numbers, while another signature of get_data has the first two as numbers and the next two as varchar2. So when I try to access this function which is part of a package, I am able to retrieve data, and the driver I am using is OCI8, but when I try to do the same with PDO, it does not work. It gives me this error,
    *General error: 6553 OCIStmtExecute: ORA-06553: PLS-307: too many declarations of 'GET_DATA' match this call  (/var/www/php-5.3.3/ext/pdo_oci/oci_statement.c:146)' in /var/www/pdo_check.php:251 Stack trace: #0 /var/www/pdo_check.php(251): PDOStatement->execute() #1 /var/www/pdo_check.php(345): dbPDO->execPackage2() #2 {main} thrown in /var/www/pdo_check.php on line 251 *
    I got this error earlier with OCI drivers, then I added the datatype while binding the values.
    Has anybody had this headache earlier??
    ##Works
    *$qu = oci_parse($connect, 'select pack.get_data(:p1,:p2,:p3,:p4)as rc from dual');
    $p1 = (int)121;
    $p2 = (int)222;
    $p3 = (int)324;
    $p4 = (int)001;
    oci_bind_by_name($qu,":p1",$p1,10,OCI_B_INT);
    oci_bind_by_name($qu,":p2",$p2,10,OCI_B_INT);
    oci_bind_by_name($qu,":p3",$p3,10,OCI_B_INT);
    oci_bind_by_name($qu,":p4",$p4,10,OCI_B_INT);
    oci_execute($qu) or die("did not execute");
    $r = oci_fetch_array($qu);*
    ##Does not work
    *$sql = 'select pack.get_data(:p1,:p2,:p3,:p4) from dual';
    $result = $this->dbConnect->prepare($sql);
    $p1 = (int)2;
    $p2 = (int)2;
    $p3 = (int)2;
    $p4 = (int)6;
    $result->bindParam(':p1', $p1, PDO::PARAM_INT);
    $result->bindParam(':p2', $p2, PDO::PARAM_INT);
    $result->bindParam(':p3', $p3, PDO::PARAM_INT);
    $result->bindParam(':p4', $p4, PDO::PARAM_INT);
    $result->execute();*
    I am still perplexed why is PDO giving me an error, when I have virtually mentioned everything is asks for?

    I think the only person who can really answer this question is Chris Jones. For my money I tend to steer clear of PDO as it is a bit quirky ( at least in my experience ) and it does not support reference cursors.

Maybe you are looking for

  • XML in SOAP response

    Hi, I wrote my own SOAP web service and so far it is working like a charm. I am trying now to use it in my own iPhone app but I keep getting the SOAP response as HTML entities (< become <) and I can not parse the XML like that. I think the reason for

  • I accidentally deleted a system file and my macbook pro will not boot

    i accidentally deleted some files and i am guessing now that they were system files. now my macbook pro will not boot. i need help please

  • Master Solaris 8-9 sysadmin

    Hi: I am from the HP-UX sysadmin world and i would like to Master Solaris Admin. I have about 8 years of experience in hp-ux and have worked briefly on solaris 7 before. Please let me know the answers to the following questions. 1. Am i in the correc

  • Will adding RAID drives 2 my Quad Pro make any FCS processes much faster?

    Anyone have an opinion on adding RAID drives to Mac Quad Pro (dual 2.66 intel xeon) as far as significantly speeding up any video processing times?

  • Command file "chrome://vidbar/content/db.js:312" does not respond

    <blockquote>Locking duplicate thread.<br> Please continue here: [/questions/834066]</blockquote> I get every now and then an error message (in Finnish): "Tällä sivulla oleva komentotiedosto on varattuna tai ei enää vastaa kutsuihin. Voit pysäyttää ko