Jdbc 10.1.0.5 (patchset) and ArrayIndexOutOfBoundsException

[jdbc version 10.1.0.5 (patchset) and ArrayIndexOutOfBoundsException]
Hello
We finnaly got the 10.1.0.5 patchset, extracted the jdbc drivers version 10.1.0.5 and found out that the ArrayIndexOfBoundException problem is still present!
java.lang.ArrayIndexOutOfBoundsException: -1
     at oracle.jdbc.driver.DateTimeCommonAccessor.computeJulianDay(DateTimeCommonAccessor.java:354)
     at oracle.jdbc.driver.DateTimeCommonAccessor.getMillis(DateTimeCommonAccessor.java:399)
     at oracle.jdbc.driver.DateAccessor.getTimestamp(DateAccessor.java:143)
     at oracle.jdbc.driver.OracleResultSetImpl.getTimestamp(OracleResultSetImpl.java:724)
     at cybiz.db.GeneralDB.pesquisaPaginadaSimples(GeneralDB.java:854)
driver files: ojdbc14dms.jar, ojdbc14.jar and orai18n.jar
driver version (all tested): 10.0.1.4, 10.0.1.5 (patchset version), 10.2.0.1
database version: Oracle 9i 9.2.0.1.
The problem occurs at the the ResultSet.getTimestamp() method. Apparently, it happens after 10 rows are read. This exception is thrown for all database tables that contains date columns.
Does anybody have any thoughts on this? What is most troublesome is that this error doesn't occur with the jdbc drivers targeted at jdk1.2 (classes12.jar). Another thing is that tthis is not a SQLException. It is a runtime exception that occurs inside the jdbc driver.
Right now we are stuck...We have a production envirnoment and tons of upgrades that we cannot deploy because of this error.
Thanks in advance for any help,
Luis Fernando

Hello
It seems I have made a mistake. After installing all files again in a clean directory for the application server, the error did NOT surface. The patch seems to have indeed corrected the problem.
Sorry for that post.
Regards,
Luis Fernando

Similar Messages

  • JDBC to access SQL server 2000 and Oracle.

    hi,
    I have the following requirement. I have an oracle database which contain sql data including BLOB and CLOB. Firstly, I should migrate the data to a SQL server 2000 database. That is, i should be able to have two databases, one on oracle and the other on sql server 2000. the two databases should contain the same data, which includes BLOB data. I guess, sql server 2000 does not have a BLOB data type. What is the equivalent data type i can use to save the Oracle's BLOB data in SQL server?? Should it be image type?
    After i migrate the data to the sql server 2000 database, i should be able to connect to the two databases, oracle and sql server 2000, using the same JDBC code to retrieve, insert, update and delete the data. What are the drivers that i should use. I guess, the MS JDBC driver does not support BLOB and CLOB. Is there a driver that can support BLOB for sql server 2000 and is also free???!
    Kindly help... Thanks.
    Arthi.

    Hi,
    I am new to jdbc... so, pls forgive my ignorance...
    I shall try to map a BLOB data column in oracle to an IMAGE data column in sql server 2000. I am using oracle jdbc driver and microsoft's jdbc driver for connecting to the databases.
    My question is, can i use setBlob() method in the preparedstatement in jdbc code for setting data to the sql server 2000 image column?
    rs.getBlob() and preparedstatement.setBlob()code works fine for oralce's BLOB column using oracle's jdbc driver.... Will the same jdbc code work for sql server 2000's image column using microsoft's jdbc driver??
    Kindly help.
    Arthi.

  • How to find the patchset and applied patches

    Hi all,
    I'd like to know is there some sql statement to show me the current patchset and the patches which are already applied to oracle. If no, please tell me how to check this.
    Thank you in advance

    user11894319 wrote:
    Thank you Nicolas,
    to do that i need to set first oracle_home, right? Is is possible to check it somehow without to set oracle_home?Hmmm, I don't get you, what's wrong to set ORACLE_HOME ? I also edited my ealier post to check against the database itself, but you won't be able to check the one-off patches applied onto the binaries.
    Nicolas.

  • IAS 9022 Bundle Patchset and iAS 9023 Integrated Patchset

    Hi
    We are going upgrade our 9iAS installation, 90201 with 9021 core patchset installed on a solaris box, to the latest patchset.
    We found that there're two types of patchset, iAS9022 bundle patchset and iAS9023 integrated patchset. We are not sure if we should (or can) apply both of them or we just need only one of them.
    If we need to apply both, then which one should we apply first and which one next? If we need to apply only one of them then which one we should use?
    Thanks
    JC.L

    Welcome to the wonderful world of patch sets for O9i AS :)
    MetaLink has Patching Recommendations: Note:215882.1
    Also, see [NOTE:243561.1] Availability of 9iAS Integrated Patchset 9.0.2.3

  • Receiver JDBC: Error while doing the Deleting and Inserting new records

    Hi All,
              I am doing Idoc to JDBC scenario. In this I am collecting & bundling different type of Idocs and then sending to the JDBC receiver. My requirement is to delete the existing records in the database and insert the new records. I have configures as mentioned in the link
    Re: Combining DELETE and INSERT statements in JDBC receiver
    In the above link its shows for single mapping. In my scenario I am using multi mapping for collecting idocs in BPM. If I configured for normal mapping then it is working fine(Deleting existing records and Inserting new record). Whenever I am using multi mapping then I am getting following error in the receiver JDBC communication channel u201CError while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)u201D . Can you please tell me what might be the problem.
    Thanks & Regards,
    T.Purushotham

    Hi !
    check this out:
    JDBC - No 'action' attribute found in XML document - error
    JDBC receiver adapter: No 'action' attribute found in XML document
    It appears that the inbound payload (the one that is going from XI to the JDBC adapter) does not have the requiered tag to specify which SQL action to execute in the receiver system. Maybe the multimapping is not creating the desired output message format.
    Regards,
    Matias.

  • Does oracle 8.1.6.0 jdbc thin driver support jdk1.3 and oracle 8.0.5 database ?

    I have downloaded oracle 8.1.6.0 jdbc thin driver(named classes12.zip) to run with jdk1.3 to access oracle 8.0.5, but when I compile and run the jdbccheckup.java downloaded from oracle website like this:
    javac -classpath d:\jdbc\classes12.zip jdbccheckup.java
    (compile succeed)
    java -classpath d:\jdbc\classes12.zip jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

    Try this isntead.
    java -classpath d:\jdbc\classes12.zip;. jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

  • IPlanet datasources and ArrayIndexOutOfBoundsException - ack!

    Hello -
    I am encountering an annoying problem since deploying a module to iPlanet 6.0. On the line:
    ds = (javax.sql.DataSource) ctx.lookup(dsName);
    an ArrayIndexOutOfBoundsException is being thrown. There was no problem with ' ctx = new javax.naming.InitialContext();' - just the line indicated. I have catch blocks for NamingException and SQLException, neither being triggered, so I don't think it's a problem with my dsName. Any ideas? Is this a server issue (the programmer's dream) or is there a pitfall I'm hitting? Any advice would be appreciated.
    Heather

    Hi
    I am also facing the same problem .
    I have configured a datasource on iplanet application server which connects to the oracle Database.
    Now using JNDI i am trying to get the connection object .
    Can you please help me out in this .
    Please send me your code on
    [email protected]
    Thanks & Regards
    Tarak

  • Jdbc thin driver 8.1.7 and views from older versions of oracle

    Config:
    Windows 2000 | jdk 1.3.1 | oracle's latest jdbc driver 8.1.7,
    also tried 9.0.1 (classes12.zip), using thin driver
    I try to select,using a PreparedStatment, from a view on Oracle
    8.1.7, the view is linked to a table on Oracle 7.2.2.3.
    I get different results when running the same query, I use an
    older version of the driver to connect to the older version of
    Oracle(classes111.zip), on the table directly and on the view.
    This seems to be predominantly present when dealing with
    integers.
    Any comments or help would be appreciated.

    I have found a workaround to this problem.
    The only way, that I have been able to determine, of resolving
    this issue is to use a Statement, not a PreparedStatement, which
    causes problems for some reason. I figure there's a bug in
    Oracle's JDBC layer.
    Maybe this will help someone...maybe not :)
    kamil

  • Any difference in the dbms and jdbc drivers btw oracle 8i lite and 9i lite

    Is there any significant difference between oracle 8i lite and oracle 9i lite in terms of database and jdbc drivers?
    If not, it may be better off using oracle8i.

    According to Oracle , 9i lite is more powerful than 8i Lite.
    one thing, 8i Lite is not certified for windows 2000.
    jothi

  • Oracle jdbc driver: sort order between letters and numbers

    Hello,
    I am facing a very strange problem with sortering of data between letters and numbers.
    I'am executing the following SQL request:
    SELECT nummsg FROM CWD01 where nummsg = '00000001' or nummsg = 'AAAA0001' order by nummsg
    When this request is executed with sqlplus or SQuirreL, I receive the expected result:
    NUMMSG
    00000001
    AAAA0001
    When I execute the following java code:
    try {     String className = "oracle.jdbc.driver.OracleDriver";     Class driverObject = Class.forName(className);     Connection con = DriverManager.getConnection("myurl", "user", "pass");     Statement stmt = con.createStatement();     ResultSet rs = stmt.executeQuery(           "SELECT nummsg FROM CWD01 where nummsg = '00000001' or nummsg = 'AAAA0001' order by nummsg");     while (rs.next()) {           String x = rs.getString("nummsg");           System.out.println("nummsg " +x);     } } catch (Exception e) {     System.out.println("Failed: Driver Error: "+ e.getMessage()); }
    I receive the unexpected result:
    nummsg AAAA0001
    nummsg 00000001
    We are using the following version of Oracle:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    and the following jdbc driver:
    Oracle Database 10g Release 2 (10.2.0.1.0) JDBC Drivers (ojdbc14.jar (1,536,979 bytes) - classes for use with JDK 1.4 and 1.5)
    Any suggestion?

    I checked, I'am sure of the problem:
    package test;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Statement;
    public class Test {
         public static void main(String[] args) {
              try {
                   String className = "oracle.jdbc.driver.OracleDriver";
                   Class driverObject = Class.forName(className);
                   Connection con = DriverManager.getConnection("jdbc:oracle:thin:@<server>[:<1521>]:<database_name>", "user", "password");
                   Statement stmt = con.createStatement();
                   ResultSet rs = stmt.executeQuery(
                      "SELECT nummsg  FROM CWD01 where nummsg = '00000001' or nummsg = 'AAAA0001' order by nummsg");
                   while (rs.next()) {
                        String x = rs.getString("nummsg");
                        System.out.println("nummsg " + x);
              } catch (Exception e) {
                   System.out.println("Failed: Driver Error: " + e.getMessage());
    }The table CWD01 defines the column NUMMSG as VARCHAR2(8).
    The output gives:
    nummsg AAAA0001
    nummsg 00000001

  • Oracle 9iAS 9.0.2.1.0 patchset and PDK

    I'm patching Oracle 9iAS as described in Metalink note 215882.1. The readme file for the bundled patchset 9.0.2.10 says that the set can not be installed when Oracle 9iAS Developer Kits are installed. I have installed PDK Release 2 (9.0.2). What am I supposed to do.

    For all administrator guides, go to:
    http://download-east.oracle.com/docs/cd/A97329_03/index.htm
    As for a configuration tool, all there really is is an installation "cookbook". It is really helpful. It goes through pre-intall task, installing 9ias, and post-install tasks.
    For Windows:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=214691.1
    For Unix:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200075.1
    Hope this helps,
    Martin

  • JDBC 8.1.6 (2.0) and JDK 1.2 java.sql.SQLException

    I wrote an applet program and access to Oracle database using JDBC 2.0 (Oracle 8i 8.1.6). When testing, I got errors java.sql.SQLException: No suitable driver.
    Who havd any idea to solve this problems.
    It works fine when I use JDBC 1.2 and JDK 1.2 .
    Chuleerat.

    "No suitable driver" usually means that the
    connect string is incorrect.
    The 8.1.6 driver supports JDK1.1 and JDK1.2.
    If you use JDK1.2, the JDBC 2.0 features
    are available to you.
    null

  • JDBC to iDOC (DEBMAS) for create and change.

    Hi all,
    I have this problem...
    my Scenario: JDBC(MultiBase) -> iDoc (Debmas06).
    with iDoc DEBMAS06, i'm creating customers...
    but the POS can send the same customer again...
    XI process it but... show an error... because, the STCD1 is already created...
    so i'm thinking use one interface with the iDoc and a BAPI(BAPI_CUSTOMER_CHANGEFROMDATA1) for this purpose...
    but somebody told me (in SDN) than with debmas I can change a customer... but I can't find information about how to do it... everybody talk about.. the change in SAP and then send it to POS... but... in the other way????
    any help, any info??
    thanks a lot.
    Regards

    > if you change customer with IDOC do you use the same sales tax as
    > the customer already has? and then you have this error ?
    yes, I'm using the same Sales Tax... and when see in trx WE02 the iDoc, it say's: "
    No batch input data for screen SAPLID_TAXNUM 1000"
    SAP give this error only when I use two times the same STCD1.
    so i assume, than can't use the iDoc for change an unique customer...
    but may be I'm wrong and this error, tell me another thing.. i don't know.
    > if not did you try leaving this field empty? as BAPI cannot change it anyway...
    but thinking logically how the iDoc will find the customer than I want to change??????
    may be I have to use my look up.. ask if  the customer "XXXX" exists, and if it is true, don't use the STCD1 and use the KUNNR ?????????
    Thanks

  • JDBC drivers for SQL Server 2008 and PI7.0

    HI,
    I have deployed the JDBC drivers (sqljdbc.jar and sqljdbc4.jar) available for the SQL Server 2008 from the microsoft website as described in the how to document for deploying and configuring JDBC and JMS adapters.
    I am running a JDBC to FIle(XML) scenario. When I go and see on the RWB CC monitoring, I get this error
    Error during database connection to the database URL 'jdbc:sqlserver://hostname:1433;databaseName=123_Nagasatya' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://hostname:1433;databaseName=123_Nagasatya': UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)'
    WRT to the SQL server the port 1433  is open on the host and there is no firewall on the PI server as well as the SQL Server. Both are on different machines.Any help would be greatly appreciated.
    Regards.

    Hi Sujan,
    This is the link.
    [JDBC|http://www.microsoft.com/downloads/details.aspx?familyid=c47053eb-3b64-4794-950d-81e1ec91c1ba&displaylang=en]
                                          or
    You can also use the one on the market place.
    Go to http://service.sap.com/msplatforms -> SQL Server
    get zip-file sqljdbc_12_hotfix.zip contains the sqljdbc.jar file.
    It should work.
    Please let me know if you have any questions.
    Regards.

  • Appropriate JDBC drivers for 7.0 version and SP16

    Hi all
    we are using XI 7.0 SP 16.
    what type/verion of JDBC drivers should be used for database connectivity?
    while i was going through "How to install external JDBC Drivers" it was suggesting to use
    Oracle 9i and Oracle 10g:
    ojdbc14.jar
    u2022 Microsoft SQL Server:
    msbase.jar, mssqlserver.jar, msutil.jar
    (in screen shots  as well it was showing he was using msbase.jar, mssqlserver.jar, msutil.jar and ojdbc14.jar)
    should we use both ojdbc14.jar and msbase.jar, mssqlserver.jar, msutil.jar or else one of them would be sufficient?
    Is OJDBC a type 4 and type 2 driver?
    Full Points are guaranteed
    Regards
    Bhasker

    Hi,
    You have to use ojdbc14.jar or classes12.zip/.jar for Oracle and msbase.jar, mssqlserver.jar, msutil.jar for Microsoft SQL Server. Thus both are required to be deployed on J2EE server.
    And Oracle JDBC is a type 4 driver.
    refer --> http://www.aquafold.com/docs-jdbcdrivers-oracle10g.html
    Refer
    SAP Note : 1078420, 831162, 941317, 1138877
    Thanks
    Swarup
    Edited by: Swarup Sawant on Aug 4, 2008 10:25 AM

Maybe you are looking for

  • Order document upload in sales order

    Hi, In VA02 transaction, we get an option to upload order document. We are using BAPI to create sales order, How can I upload order document? Thnaks .

  • FI Standard Workflows

    Hi, Can anyone tell me which Standard WFs normally used in FI and how to trigger them.. As some transaction doesnot give any event in SWELS , so BTE is the solution, please exaplain

  • Query regarding URL Encoding......in struts

    Hi Friends, I am working in Struts. Now in some cases i have to send some data (like some id or falg value ) in URL as queryURL. now when the page calls at that time on the address bar i saw the whole URL. I wanted to encode that URL.so that no one c

  • Google-earth launch error

    Hi, I have installed latest package google-earth from the AUR, but when I load google-earth get this error message: /usr/bin/google-earth: line 46: ./googleearth-bin: No such file or directory Does anybody know a solution? Thnx!

  • Is wpg_docload.download filename length restricted to 78 Characters ?

    All, I am using the wpg_docload.download procedure successfully download files. I have encountered a problem when the FILENAME values on the content-disposition attachment tag exceeds 78 characters. Is this a true and limitation of the procedure or h