JDBC 2.0 and Oracle rdbms 8.0.5

Hello everyone,
I need a bit of help about the compatibility of Oracle 8.0.5 with JDBC 2.0 / JDK 1.2.
In particular I would like to use a couple of methods belonging to the updatable ResultSet, updateBinaryStream() and updateRow(). Do someone know about any problem with this configuration?
Thank you very much.
Best regards,
Kamillo.

You will have to use the latest thin driver or a later version of the OCI driver (and client) since this type of behavior (JDK 2 support) wasn't added until 8.1.x.

Similar Messages

  • JDBC Thin Client and Oracle Long Datatype

    I am using Wepshere 4.0.2 , JDBC 2.0 (thin driver) and oracle 9i.
    I have a procedure which takes Oracle Long Datatype as its parameter.
    I use following code to execute procedure.
    String dataforsql="AAA000000003 123123 07/01/200301/01/2003";
    byte[] bytes = dataforsql.getBytes();
    InputStream is = new ByteArrayInputStream(bytes);
    cstmt=conn.prepareCall("call nscw.CPPF_SAVEPDCRAWTABLE2(?,?,?)");
    cstmt.setAsciiStream (1, is,bytes.length);
    The above code works perfectly for data upto 4000 bytes. Once the data crosses the 4000 mark.
    i get a procedure error
    ORA-01460: unimplemented or unreasonable conversion requested

    cstmt.setAsciiStream (1, is,bytes.length);Oracle's support for CLOB (and BLOB) columns using set{Ascii,Binary}Stream() generally s*cks. You'll have to read Oracle's own JDBC manual (you can read it online at http://technet.oracle.com) for whatever sequence they recommend.
    E.g. for insertion and updation of CLOBS, you're supposed to use an oracle-specific function (EMPTY_CLOB()) as the value in the INSERT/UPDATE statement, and then do a SELECT, getClob(), and use Clob APIs to update the actual column value. At least officially. Or you have to use some Oracle-specific APIs in oracle.sql.Connection and oracle.sql.CLOB.

  • Oracle Forms 9i and Oracle RDBMS 8

    Hi,
    Can anyone tell me whether Oracle Forms 9i will work against an Oracle 8 database?
    We have an older version of Oracle Forms (Oracle Developer 6i) that I could also try against Oracle 8 but I'm concerned about conflicts with on the client-side with Oracle Enterprise Manager 9i and Oracle Enterprise Manager 10g (I have these installed already).
    My organization does NOT intend to upgrade the Oracle 8 production database to a newer release. And yes, we have Oracle 9i and 10g RDMBS in production as well.
    Thanks.

    I, too, am a little confused. I will be loading Oracle 9i DB Personal Edition on to a Windows XP Professional, Pentium IV. I read in forums that 9i Personal is certified for this particular system whereas 6i Personal Edition is not. Is Forms and Reports 6i certified for XP Professional? If so, can I run 6i w/ the 9i Personal Edition? I am considering purchasing Oracle 9i Developer Suite, but only if it is certified for XP Pro and 6i isn't.
    Please advise.
    Alta

  • JDBC Receiver Adapter and Oracle BLOB

    Hi,
    I would like to put some raw data into an ORACLE BLOB using XI. My idea was to put the data in an xml element, but the JDBC sender adapter doesn't seem to be able to cope with writing. Has anybody gathered experiences regarding this topic?
    Kind regards,
    Heiko

    Hi,
    The error saying it is unable to connect to the Database, so it may be the drivers problem. once check the drivers and its syntaxes.
    Syntax :
    http://www.devx.com/tips/tip/28818
    For Download and configure the drivers :
    http://www.aquafold.com/docs-jdbcdrivers-oracle10g.html
    http://www.oxygenxml.com/database_drivers.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f

  • JDBC Thin driver and Oracle names server

    Hi
    Any managed to get the Thin driver to user the Names Server aliases, ie I want to connect to service xxx like
    jdbc:oracle:thin:@xxxx and not specify instance and port as the DB is running in a multiple machine cluster and can be switched to a different machine...
    With OCI driver I have managed on NT but having problem with OCI/Linux and Beta 10g...
    Tks
    Andre

    I don't have much experience with OCI from JDBC, but should work like any other kind of connection via SQL*Net. I.e. I would check if connection can be made using SQLPlus, check environment variables (ORACLE_HOME etc.) of 9iAS instance, check version of JDBC classes and their readme.txt. There are also some settings in sqlnet.ora file which might affect this (like default domain - try to use full name of alias - OCRL.WORLD or whatever alias you have there). You may also want to switch tracing for SQLNet and/or listener on (it's not easy to find in doc how to do it, though) to check if there is at least some traffic between klient and server...
    Myrra

  • JDBC Thin-Driver and Oracle Stored Procedure

    I've got a Oracle stored procedure which returns a Oracle record.
    How can I retrieve the record in java using the JDBC Thin-Driver ?
    Record:
    TYPE messagerec IS RECORD
    (log_level VARCHAR(2), timestamp VARCHAR2(19), text VARCHAR2(200));

    Using PL/SQL BOOLEAN, RECORD Types, and TABLE Types:
    Oracle SQLJ and JDBC do not support calling arguments or return values of the
    PL/SQL BOOLEAN type or RECORD types. Also, when using the Thin driver, they
    do not support calling arguments or return values of PL/SQL TABLE types (known
    as indexed-by tables). TABLE types are supported for the OCI driver.
    Check the following guide,
    http://otn.oracle.com/tech/java/sqlj_jdbc/pdf/a96655.pdf

  • JDBC thin driver and Oracle 8.1.6

    Hi,
    I have installed Oracle 8.1.6 on Windows NT 4.0 with service pack 4 and using Oracle JDBC thin driver driver (classes111.zip). My application is multithreaded, but each thread maintains its own connection (and own set of Statements). Things are okay in single threaded mode, but in multi threaded mode, I get weird errors!
    1. My resultsets are SCROLL_SENTITIVE and UPDATABLE
    2. Sometimes, while updating a row, "No current row" SQLException is thrown, although a row exists that satisfies my select criteria
    3. I am also calling executeUpdate() for inserting new rows and such rows are not seen by successive resultsets!
    Appreciate any hints! Thanks!

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

  • JDBC OCI-7 and Oracle 7.3.4

    Hello again.
    I found out finally how to make the JDBC Thin to work, thanks to a correction of the SID. Now I try to use thick one since that's the one I'm gonna use with OAS. I have installed the required Client Software, and a working TNS Service.
    Unfortunately I get no matter what I do, the same error message when I try to test the connection:
    Invalid Oracle URL specified:
    OracleDriver.connect
    I've tried both with the TNS Service and NetName-ValuePair. Also I've removed the default JDBC Library and inserted the Oracle JDBC 7.3.4 instead.
    Anyone who can help, please... :)
    /Janne ([email protected])

    This is Tommy. I saw your post on Oracle Forum. Can you give me the classes12.zip, classes12_g.zip, and nls_charset12.zip ?!
    Thx in advance !!
    Tommy fromTaiwan ( July 3, 2001 )

  • Forms 10.1.2.3 and Oracle RDBMS 11g R2

    We are about to upgrade our databases from Oracle 10.2 to 11.2 does anyone know of any issues with running Forms 10.1.2.3 with an Oracle 11g R2 database?
    Is there a Forms to database certification matrix available, I couldn't seem to find anything other than the client certification matrix?

    Hi,
    There shouldn't be much of a problem when you actually upgrade. The only thing is , with 11.x DB there is case sensitive username/password, this you can get through by setting
    FORMS_USERNAME_CASESENSITIVE=true in Default.env file

  • Jdbc between Palm and Oracle Lite db.

    Is it possible to access to Okapi Oracle Lite databases on Palm with Java applications that uses sun's KVM ?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]():
    Is it possible to access to Okapi Oracle Lite databases on Palm with Java applications that uses sun's KVM ?<HR></BLOCKQUOTE>
    I am looking for this feater also !!!
    null

  • Returning arrays using JDBC 2.0 and JDK 1.2.2

    I am able to return a varray from an PL/SQL stored procedure to a Java program using the Oracle JDBC 8.1.6 driver classes (oracle.jdbc.driver.* and oracle.sql.ARRAY). I want to avoid using the Oracle specific classes to do this and instead just use the standard JDBC 2.0 classes and JDK 1.2.2. Will I still be able to access the varray returned by the PL/SQL SP or am I forced to use the Oracle classes?
    Why I ask this is because the Java code needs to be usable from a Netscape Application Server 4.0/iPlanet Application Server 6.0 servlet or java class. NAS 4.0 uses the JDBC 2.0 classes but I cannot use the Oracle JDBC 8.1.6 classes since NAS 4.0 requires the Oracle 8.0.5 client. iAS 6.0 provides a JDBC 2.0 type 2 driver and uses the Oracle 8.1.5 client but does not support arrays, i.e. CallableStatement.getArray(), ResultSet.getArray(), etc. are not supported.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Craig Knelsen ([email protected]):
    I am able to return a varray from an PL/SQL stored procedure to a Java program using the Oracle JDBC 8.1.6 driver classes (oracle.jdbc.driver.* and oracle.sql.ARRAY). I want to avoid using the Oracle specific classes to do this and instead just use the standard JDBC 2.0 classes and JDK 1.2.2. Will I still be able to access the varray returned by the PL/SQL SP or am I forced to use the Oracle classes?
    Why I ask this is because the Java code needs to be usable from a Netscape Application Server 4.0/iPlanet Application Server 6.0 servlet or java class. NAS 4.0 uses the JDBC 2.0 classes but I cannot use the Oracle JDBC 8.1.6 classes since NAS 4.0 requires the Oracle 8.0.5 client. iAS 6.0 provides a JDBC 2.0 type 2 driver and uses the Oracle 8.1.5 client but does not support arrays, i.e. CallableStatement.getArray(), ResultSet.getArray(), etc. are not supported.<HR></BLOCKQUOTE>
    can u plzz help me as to how u returned the
    null

  • Oracle RDBMS for Intel MacOS X

    In reading the other posts about Oracle Instant Client for Intel MacOS X, I see a lot of others are stating that no one is asking for Oracle RDBMS to be supported natively on Mac OS X (Intel).
    For the record, there are many others that are asking for this from Oracle (and have been since Intel of Mac OS X was announced). I too need the Oracle Instant Client, but I really need Oracle RDBMS released as well (10g for Tiger (Intel) or better).
    We have been waiting for Oracle's promise a few years ago to treat the Mac as First Class Enterprise platform. We invested in this and have been shipping our "single box" solution. However our customers are held back by only able to run Oracle 10g on Panther Server since our product must be run in a certified environment.
    Oracle on Mac OS X for us has been very stable and has served our development and customers well. However, it is just not able to run "certified" on the newer hardware architecture (Intel) and a machine replacement cycle is overdue because of this.
    I hope that Oracle visits this issue soon and has an announcement coincident with the launch of Leopard (UNIX 03).
    I realize some of you have different needs and run the RDBMS on another platform, but not us. So please count a vote for me for both an Oracle Instant Client AND Oracle RDBMS for Mac OS X (Intel).

    In reading the other posts about Oracle Instant
    Client for Intel MacOS X, I see a lot of others are
    stating that no one is asking for Oracle RDBMS to be
    supported natively on Mac OS X (Intel).Yeah, well, those are the same people who seem to think that all it takes to release a new version of the client is switching a compiler flag, waiting 15 minutes for a build, and dumping the result onto the OTN download site. Hyperbole trumps reality. In other words, it's an Internet forum. ;-)
    I'm sure you've already done this, but you're much, much better off getting on the phone with your Oracle rep and detailing to him/her just how much licensing revenue they realistically stand to lose if they don't give some attention to the Intel Mac platform. I could believe that the recent tone of discourse on this forum about "Oracle on OS X/Intel" might actually erode the position that it's a useful product direction for Oracle, so anything that license-paying folk can do to convince them otherwise would be great. :-)
    Otherwise, it's just the same 5 people posting semi-anonymously making vague threats about moving to some other platform and/or venting their spleens about horrible they think Oracle is (which, I know is often a huge motivator for anyone to take on a project...)
    Regards,
    John P.

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • JDBC Drivers compatability between Oracle and IBM WSAD 5.1.1

    I am using a DataAccessObject pattern. I discovered you can speed up your procesing with SELECT statments us using an OraclePreparedStatment and setting defineColumnType; thereby reducing the number of trips the SQL is sent to the database.
    Here is the code:
    ((OraclePreparedStatement)ps).defineColumnType(1, Types.BIGINT);'ps' is a PreparedStatement.
    However, at runtime, I am getting a class cast exception for the below reason. I am using WASD version 5.1.1. I was not aware IBM was using any specific classes in the JDBC drivers.
    [2005-05-23 15:36:59,855][Servlet.Engine.Transports : 2][ERROR][{TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}]
    {TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}
         at java.lang.Throwable.(Throwable.java)Could someone please explain this to me? Any help would be greatly appreciated.

    I'm not an WSAD expert to be honest, but it's quite possible they are using their own wrappers. Check out what calls you can make on their ps wrapper or more likely conn wrapper - they may have some type of getWrappedConnection functionality as other vendor(s) do in which case you can, eg, cast the connection to OracleConnection and go from there.

  • Kodo 3.4.1 and Oracle JDBC 11.1.0.6?

    Hi,
    did anybody already try using Kodo 3.4.1 and Oracle JDBC driver 11.1.0.6?
    We have been able to use it by specifying:
    kodo.jdbc.DBDictionary=oracle(BatchLimit=1000)
    but it does not run very smoothly and we get for example the
    following exception (but not always).
    NestedThrowablesStackTrace:
    [migrate-data] java.lang.ArrayIndexOutOfBoundsException: -32193
    [migrate-data] at
    oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedS
    tatement.java:2677) [migrate-data] at
    oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedState
    ment.java:9270) [migrate-data] at
    oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapp
    er.java:210) [migrate-data] at
    com.solarmetric.jdbc.DelegatingPreparedStatement.executeBatch(DelegatingPre
    paredStatement.java:325) [migrate-data] at
    com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.executeBatch(Pool
    Connection.java:375) [migrate-data] at
    com.solarmetric.jdbc.DelegatingPreparedStatement.executeBatch(DelegatingPre
    paredStatement.java:325) [migrate-data] at
    com.solarmetric.jdbc.DelegatingPreparedStatement.executeBatch(DelegatingPre
    paredStatement.java:325) [migrate-data] at
    com.solarmetric.jdbc.DelegatingPreparedStatement.executeBatch(DelegatingPre
    paredStatement.java:325)Any hints?
    Thanks,
    Werner

    Disabling SQL batching by specifying BatchLimit = 0 solved the
    problem temporarlyOf course this is not what we want, anybody else using this configuration?
    Werner

Maybe you are looking for

  • I open a calendar on a vendor website and when i try to change the date Firefox crashes.

    I use a vendor's website to change retails on products that I sell. The default date for the changes is the next day. I can make the changes happen on a future date. When I open the calendar to change the date, Firefox immediately crashes when I clic

  • Errors on page after applying Java plugin1.3.1_02

    Hi, I need assistance on how to troubleshoot my console, with the following errors: java.lang.VerifyError: (class: Solar, methode: DeleteServer signature: ()V) Illegal use of nonvirtual function call. Another machine has the error: load: class Solar.

  • How to create af:tree from single database Table

    Hi, i want to create tree Like this: and also we can add node anywhere. Parent01 ----|parent01-child01 --------|parent01-child01-child01 --------|parent01-child01-child02 -------------|parent01-child01-child02-child01 Parent02 ----|parent02-child01 -

  • Msi gx 740 shutting down unexpectedly

    Hello! Let me start by saying I'm new to the forum and I'll try my best to be as clear as possible even though im not an expert at computers at all. And I imagine you all thinking there is alot of Posts about this exact problem. I have found some of

  • OTL - loading approved timecards

    Hi, Is it possible to load approved timecards? I notice there is a mode parameter for the hxc_timestore_deposit .execute_deposit_process procedure, however I did some searching on metalink and this only seems to be talked about in relation to migrati