Oracle Database 10g and jdk 6

does Oracle Database 10g driver work with java jdk 6
I am returning a ref cursor from pl-sql to java and when I do
cs.registerOutParameter(2, OracleTypes.CURSOR);
it will throw ora 17004, invalid column type 246
I am trying to migrate my app from jboss to weblogic 10.3.4
George

Yes it works. But OJDBC6 also works fine for connecting to 10g, all drivers are backwards compatible.
it will throw ora 17004, invalid column type 246So you are saying that this is not happening when running Java 1.4? I find that highly doubtful, the driver is not going to change its behavior based on the JDK version.

Similar Messages

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • Running Oracle database 10g and 11g on same 5 RAC nodes

    Hello Gurus,
    Could any body throw light if I can install and sucessfully run Oracle database 10g and 11g on the same Oracle RAC installation setup.My setup is below
    Number of nodes-5
    OS- windows 2003 or RHEL5
    storage- DELL EMC SAN
    Clusterware- oracle version11g
    File system-Automatic storage management(ASM)
    After I successfully setup clusterware,ASM on the nodes,I would want to install 11g database on all 5 nodes .
    Then Install 10g database on only 3 of the nodes using the same clusterware.
    What are your views on the same.
    Also FYI... as per metalink node 220970.1(RAC: Frequently Asked Questions) one can do such a setup.
    what iam looking for is practical experience if anyone has implemented this in production system,if yes any issues faced and how tough it is to support.
    Thanks,
    Imtiyaz

    You could run an 11g database and 10g database on the same cluster as long as you use Clusterware 11g.
    The administration aspect will drastically change according to the platform you run on. As of now, it appears you don't know whether it will be Linux or Windows.
    It would be practical to support the same database release.

  • Difference Between Oracle Database 10g And Oracle 10g Express Edition

    Can any body Tell me What is The Difference Between Oracle Database 10g And Oracle 10g Express Edition.

    http://www.oracle.com/database/product_editions.html
    This link might help you.

  • Oracle Database 10g and Oracle Client 9i together

    Hi, I've been lost some nights in this problem, in my job I will need migrate my Oracle Database 10g for a new computer, on the other hand, there is a software in this computer wrote in Visual Basic and this running only Oracle 9i Client.
    Is it possible configure my new server for run Oracle Database 10g and Oracle 9i Client together?
    Thanks!
    Emerson

    You can certainly use an Oracle 9i client to connect to an Oracle 10g database. Technically, you may have to apply the 9.2.0.4 patchset to the Oracle client to be completely supported, but that may not be strictly necessary.
    You can also have both a 10g database and a 9i client installed on the same machine in different Oracle Homes. You may have some issues on Windows, however, if you are using software that is not multi-home compliant (i.e. the Microsoft ODBC driver for Oracle) or if you call Oracle command-line utilities (exp, imp, etc) without explicitly setting the PATH first.
    Justin

  • Can Oracle Database 10g and Oracle Database 10g Express Edition co-exist ?

    I just installed Oracle Database 10g Express Edition. But I also want to access isql*plus for study purposes.
    Can I download/install Oracle Database 10g without removing Oracle Database 10g Express Edition ?

    I decided to download and install Oracle 10g myself and it was pretty quick to install. So I answered my own question : Oracle 10g Express is definitely able to co-exist with Oracle 10g no problem.
    I want to post/share this answer for others who started with Oracle 10g express first - the journey I started.
    The url isql*plus is displayed near the end of the installation together with the enterprise manager url. Pretty cool.
    Now I can learn both Oracle 10g enterprise edition and Oracle 10g Express which is based on apex engine.

  • Oracle database 10g and symantec ghost

    i'm working on trying to install oracle database 10g on a bunch of computers in a computer lab here at my university. we are using symantec ghost to manage all of these computers. like normal, i installed oracle database 10g enterprise on the build machine. i pushed out a new build to all of the computers but when the ghosted computers attempt to start oracle up to get the database running, it fails. i have been told by the instructor who teaches the course which needs this software that it is probably due to the hostname of the machines changing... does anyone know if there is a way around this problem? i am not familiar with oracle at all so i apologize if i am using any terms incorrectly.
    thanks

    If it failed what error message you have? Without the error message it's hard to comment.
    It seems you not only installed Oracle software, you also created a database.

  • Oracle Database 10g and OCI 8i

    We have recently upgraded our databases to 10g ,there is a NT service on one of our machines which makes OCI calls to packages in 10g .The OCI version is 8.0.5.0.0 and since the upgrade we are facing intermittently slow performance ( sometimes queries run in less than one sec sometimes it takes more than couple of minutes) issues .Would anybody be knowing if there are any known compatibility issues between OCI 8.0.5.0 and database 10g ?

    I would imagine that there is little other than compatibility issues.
    8.0.5.0 is so old I think you need a permit from the historical society to run it.

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • Store PDF File in Oracle database 10g

    Hi all,
    I want to store PDF File in Oracle database 10g,
    and then I want to access the pdf file using Oracle Developer 6i
    can anyone tell me how to do this,
    thanks in advance.

    This question has already been posted a lot of times.....
    See the following:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=pdf+file&objID=f82&dateRange=lastyear&userID=&numResults=15
    Greetings,
    Sim

  • Oracle Database 10g R2 on Solaris 10

    Dear all.
    Next week I'll have a job which is to install Oracle Database 10g and configure it on Solaris 10 Operating System. I'd like to know if some of you could give some suggestions or best practices (SGA, PGA, Processes, etc.) for that installation. The hardware has 32Gb memory and 4 dual core processors. The O.S. is already prepared to receive Oracle installation.
    Thanks a lot.

    baskar.l wrote:
    Steve,
    Is that the below sentence meant that 10 connections from user A will be considered as one connection by oracle?
    As far as oracle is concerned, 10 connections by user 'A' is the same as one connection each by users 'A' through 'J'thanks,
    baskar.lNo. It means the load is the same. 10 connections is 10 connections, whether they are all by one user account or by 10 separate user accounts. It's still 10 separate connections and the load is the same and oracle doesn't care.
    Try it for yourself. Set up 10 user accounts. Call them USER01 through USER10. Fire up 10 separate sqlplus sessions (you can do this from your windows desktop with 10 separate cmd windows) and log on with a different userid in each one. The query v$sessions. Then go back through your 10 sqlplus sessions and reconnect with the same user name in each - use USER01 in all 10 of the sessions. Then query v$sessions again.
    Edited by: EdStevens on Oct 18, 2009 10:54 PM

  • Problem connect form6i and Oracle Database 10g

    I can't connect form6i to Oracle Database 10g
    When complete user/password@database fatal error produce:
    "Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience"
    Error Detail:
    AppName: ifbld60.exe     AppVer: 6.0.8.27     ModName: ora805.dll
    ModVer: 0.0.0.0     Offset: 000b4f04
    Product Install:
    - Forms Version: Forms [32 bits] Versión 6.0.8.27.0
    - Oracle Database: 10.2.0
    - Win XP professional with SP2.
    Any idea what might cause Forms to shutdown ubnormally?
    Thanks

    If your database is using the AL32UTF8 character set, Forms 6i cannot connect.
    Read this thread:
    connecting form 6i  to oracle database 10G express edition

  • Export import - using TOAD FOR ORACLE  and ORACLE DATABASE 10G EXPRESS or s

    Hi all,
    Could you please kindly help me?
    I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
    And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
    So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
    Thank you so much for your help!

    Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
    create or replace function  dump_csv( p_query     in varchar2,
                                          p_separator in varchar2 default ',',
                                          p_dir       in varchar2 ,
                                          p_filename  in varchar2 )
    return number
    is
        l_output        utl_file.file_type;
        l_theCursor     integer default dbms_sql.open_cursor;
        l_columnValue   varchar2(2000);
        l_status        integer;
        l_colCnt        number default 0;
        l_separator     varchar2(10) default '';
        l_cnt           number default 0;
    begin
        l_output := utl_file.fopen( p_dir, p_filename, 'w' );
        dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
        for i in 1 .. 255 loop
            begin
                dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
                l_colCnt := i;
            exception
                when others then
                    if ( sqlcode = -1007 ) then exit;
                    else
                        raise;
                    end if;
            end;
        end loop;
        dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
        l_status := dbms_sql.execute(l_theCursor);
        loop
            exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
            l_separator := '';
            for i in 1 .. l_colCnt loop
                dbms_sql.column_value( l_theCursor, i, l_columnValue );
                utl_file.put( l_output, l_separator || l_columnValue );
                l_separator := p_separator;
            end loop;
            utl_file.new_line( l_output );
            l_cnt := l_cnt+1;
        end loop;
        dbms_sql.close_cursor(l_theCursor);
        utl_file.fclose( l_output );
        return l_cnt;
    end dump_csv;
    /Here is the link to this thread in asktom.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059

  • Oracle Database 10g Express Edition and xmlelement

    Hi
    when i tried to execute the following Sql command on a Oracle Database 10g Express Edition
    select level,xmlelement(evalname(desc), value1)
    from hr.xml_local
    connect by prior id = id - 1 start with level = 1
    i got this error:
    ORA-19039: The keyword EVALNAME is reserved for future use as a builtin function.
    is there a workaround to avoid this?
    MDK.

    mdrake wrote:
    Catch-22.. The other way of doing this easily is XQuery, but since in 10.2.0.1.0 XQuery had a dependancy on Java, and Java is not supported in XE we are back to square 1.
    The only other ways are (a) string manipulation - which I refuse to discuss, or (b) DOM-APIOr Oracle Support providing the person with the relevant "alter session set events ..." statement to switch on that feature in 10.2.0.1 (as shown in the SQL and PL/SQL forum thread). Obviously as it's from Oracle support, it can't be supplied on the forums.
    ;)

  • Compatability between Forms 6(Forms 6i also) and Oracle Database 10g

    Hai All,
    I want to know Any Compatible issue between ORACLE FORMS 6 (ORACLE FORMS 6i also ) and Oracle Database 10g .
    Any special patches, parameters needed?
    Any white paper describing this document.
    Please help?
    shiju

    Forms 6i Patches pre 16 and 10g databases - many problems
    Forms 6i Patch 17 - 10g DB Rel.1 - certified
    Forms 6i Patch 18 - 10g DB Rel.2 - certified only for E-Business-Suite-user

Maybe you are looking for

  • Can I have two Ipods on 1 computer

    Hi I am buying a new 5g Ipod and will be giving my old 5g ipod to my partner. As a windows user can we both have Itunes on the same PC. Also, we have similar taste in music. Can I transfer some of my music/videos to his Ipod, whilst maintaining seper

  • Error Message with Downloads from Software Update

    Today I ran Software Update, and downloaded these two updates: one that applies to printers & scanners, and one that is an update to iTunes. After completion, each download gave the same error message as follows: The system extension "/System/Library

  • How to define the application parameter 'sap.xss.BaseConfigurationID'

    Hello All, I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application paramet

  • Screen backlight and keyboard backlight not working

    Yesterday I turned on my old but proud PowerBook17" and the *screen was black*, but you could barely see everything. *Also keyboard backlight is not working.* I read many many forums and all say that black screen caused by inverter failure, but in my

  • Playlist and sync

    I had to buy new computer. Authorized the new computer and can purchase tunes. I can not however move the new songs purchased out of the purchase playlist and the new songs will not sync onto my ipod. Could use some help here. Iam getting very fustra