Issues connecting to sql 2005 database using Oracle sql developer 1.2

I just installed the sql developer and was trying to use the quick migrate to try a migration from a sql server to oracle..
I am getting the following error message when i click on the retrieve database after entering the database credentials
Status : Failure net.sourceforge.jtds.jdbc.driver
I am getting another error message when i click on the 'test' button
Status: Failure - Unable to find driver: net.sourceforge.jtds.jdbc.driver
I downloaded the jtds driver from source forge and i am wondering what I should do to get the sql developer to make successful connections to sql server.
Any help is appreciated.
Thanks

I have the same issue with both version 1.1.3 of the SQL developer and the latest version(1.2.1). I have added the jar file path in tools->preferences->Database->Third Party etc...
I got the jar file from this download: jtds-1.2.2-src.zip
I get this error when trying to connect to an sql server:
oracle.jdeveloper.cm.CMException: Unable to find driver: net.sourceforge.jtds.jdbc.Driver
     at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:175)
     at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:202)
     at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:68)
     at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:1004)
     at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:876)
     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
     at java.lang.Thread.run(Thread.java:595)
Any help would be appreciated. I like the tool would hate to have to abandon it, it works like a charm on our oracle databases.

Similar Messages

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • How to connect database using oracle SQL developer

    Hello
    I am newbie in EBS R12
    I downloaded Oracle SQL Developer
    and create new database conenction
    Connection name: ebs demo db connection
    username:
    password:
    Role: Default
    Connection type: Basic
    Hostname: ebstailin.demo.com
    Port: 1521
    SID: clone
    when i try this there is an error
    Status: Failure-Test failed: lo exception: The Network Adapter could not establish the connection
    no idea about this
    but i used the apps/apps as username and password
    please help
    thanks
    Edited by: cheesewizz on Jul 16, 2010 11:35 PM

    Hello
    Thanks for your reply
    I tried to connect and here is the result: see below
    [oracle@ebstailin 11.1.0]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Sat Jul 17 15:35:31 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CONNECT apps/apps
    Connected.
    SQL>
    But still cannot connect using ORACLE SQL Developer
    thanks

  • Cann't Drag and Drop Tabels from MS SQL 2005 Database using JDBC connectio

    I've created a I've installed cr4e-all-in-one-win_2.0.1 (Crystal Reports for Eclipse) created a new Connection with MS-2005 SQL using SQLJDBC.jar file, Connection is working and I can see all Databases and under dbo schema.
    My problem is when i try to add database in my report (using drag and drop or via option menu) nothing happens... there's no error please guide

    Hi K,
    First of all, thank you so much for your help and advice.
    When i create the repository, i encountered below error in compiler log;
    Error(26,2): PL/SQL: SQL Statement ignored
    Error(29,23): PL/SQL: ORA-00904: : invalid identifier
    Error(2486,9): PL/SQL: Statement ignored
    Error(2486,30): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2487,9): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2487,9): PL/SQL: Statement ignored
    Error(2488,9): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2488,9): PL/SQL: Statement ignored
    Error(2559,5): PL/SQL: Statement ignored
    Error(2559,26): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2560,5): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2560,5): PL/SQL: Statement ignored
    Error(2561,5): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2561,5): PL/SQL: Statement ignored
    When i right click on those errors and click 'go to source', it doesn't go anywhere.
    But it mentioned that repository created successfully.
    So that I tried to quick migrate and got below migration error:
    Error ocurred during capture:
    ORA-04063: package body "REPOOWNER.MD_META" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "REPOOWNER.MD_META"
    ORA-06512: at "REPOOWNER.MD_PROJECTS_TRG", line 3
    ORA-04088: error during execution of trigger 'REPOOWNER.MD_PROJECTS_TRG'
    I really don't know how to solve this.
    Thus, please help to advice how to solve on this matter and I do really appreciate your help.
    Thank you so much for all your help.
    Edited by: Sai Lin Naung on May 30, 2010 8:32 PM

  • HOW TO START MAKING DATABASE USING ORACLE SQL PLUS in 10g?

    how will i create database using sql plus?
    does the code of sql applicable to it..?
    do i have to use the "create db <database name>", use and " create table also,.."
    pls help me..
    thanks

    At dos prompt :
    C:\>set ORACLE_SID=<your SID>
    C:\>sqlplus / as sysdba
    you get connected as sys user. Don't use this connection to create your own objects, create users instead.... but it would be useful to read some documentation, for example Starting SQL*Plus and manuals mentioned there.

  • Migrating from MS SQL Server 2005 database to Oracle 10g

    Hello,
    I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
    I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
    Regards,
    RPS

    Wrong forum, go to the database forum!
    cu
    Andreas

  • Issues using Oracle SQL server Developer migration work bench

    Hi all,
    We are trying to migrate the application databases from SQL server 2000 to Oracle 10g using Oracle SQL Developer 1.2.1.32.13:
    Following is the list of issues that we faced while trying out this migration on dev environment.
    1. The data migration was successful for only around 90 tables out of the total 166 tables present. No error message was logged for the rest of the tables but still it was completed.
    2. Some of the tables which had got the data inserted did not have the full data. Only some of the rows were inserted for these tables. Error message was logged only for few of the rows and not all.
    3. Few error messages were logged which said problems about “Inserting ' ' into column <tablename>.<columnname>”. There was no such constraint in the target database that the particular column can not be null or can not have only a space. Please check the logs for the same error messages.
    4. The status box at the end of migration had shown only 3 errors.
    5. The total data for migration was around 500MB. The time taken for migration was around 75 minutes. Are there any optimization techniques that will improve the performance?
    Please note that there were no Foreign Key references for the source schema or target schema.
    Any pointers/info/resolutions related to above mentioned issues will be much useful for us.
    Thanks,

    Hi Adam,
    There are 2 sets of scripts created for you.
    1) For SQL Servers BCP to dump out the data to dat files
    2) For Oracles SQL*Loader to load the dat files
    You run the SQL Server BCP scripts on the machine with SQL Server.
    The dat files will be dumped out on that server.
    You can then move the dat files to your Oracle server.
    Then run the Oracle SQL*Loader scripts to load the dat files into Oracle.
    Give it a go and follow the doc and viewlets.
    Your Questions:
    So the datadump from the source location would be saved on my local disk?it will be saved on the same machine you run the bcp scripts from. Usually the same machine SQL Server is on, because you require SQL Server BCP tool.
    So once it is migrated to the destination database will that dump be created automatically? Or do I need to modify the script to take care of this?I dont know what you mean by this, hopefully above clears things up.
    The only modifications you need to make to the scripts are adding in the databasename username password servername. These are outlined in the scripts themselves. I would want to do something fancy like dump the dat files to a different directory, then you can modify the scripts, but you should understand what they do first.
    Most people would have 500MB of space on their discs , so I can see the problem creating these dat files . The same goes for your 30 GB database.
    I hope this helps, but as always you wont get a good idea of how it works until you give it a go.
    Regards,
    Dermot.

  • Problem in connecting to database using oracle jdbc thin driver

    hi
    i am trying to connect to a database using oracle thin driver.
    i am getting following error:
    java.sql.sqlexception:Io exception: the network adapter could not establish the connection
    Io exception: the network adapter could not establish the connection
    the connection string has the property of using a dedicated server
    for this reason i have put USE_DEDICATED_SERVER=ON in sqlnet.ora file...
    we did not face this problem while connecting to other databases which do not have the property of dedicated server in their connection string in tnsnames.ora file.
    please suggest a solution for this.
    thanks and regards,
    asif

    If you are using the thin driver, sqlnet.ora does not come into play. None of Oracle networking does. That is one of the great things about using the thin driver, no need to have the client installed.
    That error is due to incorrect connection info you are supplying or the machine you are connection from can't ping the machine it is trying to connect to.

  • Migrating SQL Server database to Oracle 8i - any known issues

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
    When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
    SQL Server database? Would the users be able to use SQL Server database as usual?? Are
    there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
    When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
    SQL Server database? Would the users be able to use SQL Server database as usual?? Are
    there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh Hi Ramesh!
    The Migration Workbench does not make any modifications to the SQL Server database. It only reads information from it. Your users should be able to use the SQL Server database as usual.
    Please note however that if you migrate the data over to Oracle using the Migration Workbench and your users continue to enter/update data in the exiting SQL Server database then you may need to move all that data over again in order to have the most up to date data in the Oracle database.
    thanks
    - Garry

  • Connecting to a sql server database using netbeans 5.5

    hi all
    if you please could any body tell me detailed steps for establishing a connection to a sql server database using netbeans 5.5
    i need to know what driver to use and the format of the url i use in making a new connection
    thanks

    Uhm SQL (Structured Query Language) is like the base
    of all other type like MySQL and Oracle. Um, given the context I think the person was referring to "Microsoft SQL Server". Sometimes people will cut to the chase and refer to the product as "SQL". At those times it's understood by all parties that we're not talking about the query language, rather the Microsoft product.
    I think this is one of those times.
    See
    something i found in two seconds with the wonder of
    google http://sqlzoo.net/ & http://sqlzoo.net/w.htm
    It's commendable that you're using Google. I'd argue that the OP should be making better use of it, too. But I don't think your response is applicable to this context. JMO, of course.
    %

  • How to Connect Microsoft SQL 2000 database using JDBC

    Hi all..
    I want to connect Microsoft SQL 2000 database using JDBC. I want from initial steps also. (about JDBC driver & its installation)
    Thankz

    Just checkout the SQL Server JDBC Driver Documentation at the manfacturer's site: http://msdn2.microsoft.com/en-us/data/aa937724.aspx

  • Trouble connecting to SQL 2014 Database using Power Query

    I am trying to connect to a SQL 2014 Database using Power Query.  My connection string requires that I set the "Application Intent" setting to a value of "readonly", The connection parameter is required by SQL 2014 because of
    the failover cluster configuration.   
    I have successfully been able to connect via PowerPivot with the following connection string:
    Provider=SQLNCLI11;Data Source=<Server>;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=<DB>;Application Intent=readonly
    I cannot seem to find the correct syntax to connect via SQL 2014.  This is the syntax that I have been attempting: 
    Sql.Database("<Server>", "<DB>",[Application Intent=readonly])
    Is this currently supported?
    Thanks, Barbara

    It's not yet, I'm afraid, but it's something we're aware of and have vague plans to address :/.

  • How to use Oracle SQL Developer 4.0 to connect to Ms Access file with .accdb extension

    Hi all,
    I am using Oracle SQL Developer 4.0 and Ms Access 2013 under Windows 7 (64 bits)
    After browsing and selecting MS Access file with accdb extention, I got  an error message  :[Microsoft] " Data source name not found and no default driver specified".
    On Administravitve Tools=> ODBC Data Source Administrator=>Drivers I have                                                File                                date
    Name :                                                                               Version
    Microsoft Acess Driver (*.mdb, *accdb)                                 12.00.4518.1014                                        ACEODBC.DLL                    26/10/2006
    Would you please advise?
    Thank you very much in advance

    That MS Access driver is 64-bit, I think.  If SQL Developer, or JDK is 32-bit you need to use the 32-bit driver.   You can see if you have a 32-bit driver installed using  c:\windows\system32\odbcadm32.exe

  • How do I connect to a DB2 database from Oracle 10G on linux?

    Hi
    I have tryed to connect to a DB2 database from oracle 10 G on linux.
    I have installed unixODBC and a db2 odbc driver. I can connect to the db2 using isql, but oracle comes with this error:
    select * from testtable@acc_spc_gr2
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'
    ORA-02063: preceding 3 lines from ACC_SPC_GR2
    What am I doing wrong? Any one have a guide to do this?
    - Jesper

    this is my complete configuration
    Database_
    -bash-3.2$ export ORACLE_SID=XE
    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mié Jul 7 10:04:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Conectado a:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Platform_
    Linux srvpdf 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
    */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initDB2DATABASE.init*
    #This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    #HS_FDS_CONNECT_INFO = ODBC_DSN
    HS_FDS_CONNECT_INFO = prueba
    HS_FDS_TRACE_FILE_NAME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/DB2DATABASE.log
    HS_FDS_CONNECT_INFO = DB2DATABASE
    #HS_FDS_TRACE_LEVEL = debug
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    set DB2INSTANCE=is400
    listener.ora_
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = DB2DATABASE)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM =hsodbc)
    (ENVS = LD_LIBRARY_PATH = /opt/ibm/iSeriesAccess/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.32)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.31)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora_
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvpdf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DB2DATABASE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost )(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DB2DATABASE)
    (HS=OK)
    odbc.ini_
    [prueba]
    Description = iSeries Access ODBC Driver
    Driver = iSeries Access ODBC Driver
    System = xxx.xx.3.2
    UserID = xxxxxx
    Password = xxxxxx
    Naming = 0
    DefaultLibraries = QGPL
    Database = CHERRYWEB
    ConnectionType = 0
    CommitMode = 2
    ExtendedDynamic = 0
    DefaultPkgLibrary = QGPL
    DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
    AllowDataCompression = 0
    MaxFieldLength = 32
    BlockFetch = 1
    BlockSizeKB = 128
    ExtendedColInfo = 0
    LibraryView = 0
    AllowUnsupportedChar = 0
    ForceTranslation = 0
    Trace = 0
    odbcinst.ini_
    [PostgreSQL]
    Description = ODBC for PostgreSQL
    Driver = /usr/lib/libodbcpsql.so
    Setup = /usr/lib/libodbcpsqlS.so
    FileUsage = 1
    [iSeries Access ODBC Driver]
    Description = iSeries Access for Linux ODBC Driver
    Driver = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup = /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so
    Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    UsageCount = 1
    CPTimeout =
    CPReuse =
    System = 172.18.3.2
    User = inf5mito
    Password = lonco3pue
    NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
    NOTE2 = the following Driver64/Setup64 keywords will provide that support.
    Threading = 2
    DontDLClose = 1
    ODBC Driver_
    -bash-3.2$ cd /opt/ibm/iSeriesAccess/lib
    -bash-3.2$ ls -ltr
    total 2260
    -r-xr-xr-x 1 root root 443939 Apr 5 2008 libcwbxda.so
    -r-xr-xr-x 1 root root 94504 Apr 5 2008 libcwbrc.so
    -r-xr-xr-x 1 root root 16636 Apr 5 2008 libcwbodbcs.so
    -r-xr-xr-x 1 root root 729572 Apr 5 2008 libcwbodbc.so
    -r-xr-xr-x 1 root root 998060 Apr 5 2008 libcwbcore.so
    and this is my error.
    SQL> /
    select from display@db2database*
    ERROR en línea 1:
    ORA-28500: la conexión de ORACLE a un sistema no Oracle ha devuelto este
    mensaje:
    *[Generic Connectivity Using ODBC][C077] Could not find symbol 'SQLAllocConnect'*
    in dynamic library
    *[C079] Failed to load dynamic library*
    *'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'*
    ORA-02063: 3 lines precediendo a DB2DATABASE
    Edited by: user6669081 on 07-jul-2010 6:31

  • Problem while using oracle.sql.CLOB

    Hello,
    I was trying to use oracle.sql.CLOB to update CLOB types in database. I was able to successfully run the update when I use the connection obtained from normal DriverManager.getConnection method. But have issues when I use a datasource lookup, Am using Websphere as my JDBC provider environ.
    The exception I get during the execution of this line is
    oracle.sql.CLOB newClob = oracle.sql.CLOB.createTemporary((java.sql.Connection)conn, false, oracle.sql.CLOB.DURATION_CALL);
    java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection
    as my connection is obtained by DataSource.getConnection() method.
    Is this a documented limitation of Oracle SQL CLOB class or is there a way I can tweak the code to work.
    Am using a oracle 9i thin driver
    Thanks
    Message was edited by:
    caniknow

    With the new Oracle drivers there is no need to do it that complicated.
    Finally Oracle has implemented the standard JDBC calls, and inserting a CLOB is really easy now:
    String clobContent  = populateClobData(); // whatever...
    stmt = con.prepareStatement("INSERT INTO clob_table (id, clob_col) VALUES (?,?)";
    stmt.setInt(1, 42);
    Reader r = new StringReader(clobContent);
    stmt.setCharacterStream(2, r, clobContent.length());
    stmt.executeUpdate();
    con.commit();This works with UPDATE as well. If you need to deal with BLOBs simply use setBinaryStream().
    Reading is done using getCharacterStream() or getBinaryStream()
    This actually works across all (or at leas all major) database systems

Maybe you are looking for

  • Error when I Tunes starts with Ipod Connected

    When ever I launch I tunes with I Pod Connected I get the folowwing: A "memory Card Manager" window appears on screen with the error message "Failed to locate supported File Type or there are no photos fond on the device" I running Ipod on a Dell com

  • Screen painter

    Hi Experts, Can any one solve my problem. In screen painter SE51. If I Open Layout editor. It is showing new Screen editor (Just like lines.. as like script text editor). I want old editor as it is showing tools like Text, Push Button, Check Button,

  • 44 kHz of FPGA audio data..best way to implement?

    I have a program that will be taking 4 channels of audio data using FPGA at 44 kHz. The user may only care about 1 channel, or they may care about all 4. This data could be taken for anywhere between 30 and 120 seconds. Worst case, from my calculatio

  • Data Store Object Activation failure

    Dear Friends, I have a DSO which gets updated directly from flatfile. DTP seems fine, but activation of data in DSO is failing continuously. The error message is as below, "Error when using the dynamic structures during SID determination" I cross che

  • I'm receiving rescue email in wrong email. How to change it

    I'm receiving rescue email in wrong email. How to change it