SQL Interface for Oracle in Windows 64 bit

Hi there,
Is there anyone ever trying to upload data from oracle (relational sql) to the essbase on Windows 64 bit platform ? I've read the documentation about setting SQL Interface by using the ODBC Connection ( using DataDirect Library ), but it seems that I can not see the DataDirect lib in the ODBC Control Panel (64bit), but it is installed in the 32 bit ODBC (odbcad32.exe).
However when I try to add new connection using MERANT OEM 5.2 64-BIT Oracle ODBC driver (DataDirect lib), it raise error : "the setup routines for the MERANT OEM 5.2 64-BIT Oracle ODBC driver could not be loaded due to system error code 193"..
please advice any one.... thanks

I got it to work!!!
The reg setting that is provided is for the wrong version of the dll. Notice the 5.1 and then you only have 5.2 directories.
The files in the reg are also wrong they are for the example below. arora21.dll (stated) vs arora22.dll (one's provided)
Some easy tweaks.
I modified the reg with the following and presto. It worked!! To make it better you can change the OEM 5.1 to OEM 5.2.. Good luck
echo off
IF DEFINED HYPERION_HOME (
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol"
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v APILevel /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v ConnectFunctions /t REG_SZ /d YYY
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v CPTimeout /t REG_SZ /d 60
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v Driver /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\Drivers\arora22.dll
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v DriverODBCVer /t REG_SZ /d 3.52
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v FileUsage /t REG_SZ /d 0
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v HelpRootDirectory /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\help
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v Setup /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\Drivers\arora22.dll
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v SQLLevel /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v UsageCount /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" /v "MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /t REG_SZ /d Installed
) ELSE (
echo "Environment variable HYPERION_HOME must be first defined to run script."
Edited by: user652102 on Aug 23, 2008 11:37 AM

Similar Messages

  • Help out:SQL Assistant for oracle

    Any time i use the logminer utility from the SQLaps SQL Assistant for oracle to query either my redo or archive logs i get this error, but the dictionary.txt file exist in the location specified;
    Please help out with details on how to solve this error:
    ORA-01284: file C\oracle\product\10.2.0\db_1\dictionary.txt cannot be opened
    ORA-06512: at "SYS.DBMS_LOGMNR", line 58
    ORA-06512: at line 1
    kindly help out on the reason for this error and detailed steps to solve this issue

    NAIJA-EXBOY wrote:
    That is how the error appears when you use the GUI utility for the logminer to query the alert logs,
    Does anybody have ideas on how logminer utility works using this software "SQL Assistant for oracle""SQL Assistant for Oracle" doesn't seem to be a tool provided by Oracle, but a third-party tool. Therefore I suggest you contact their technical support for your inquiry.
    As a workaround, as already suggested, you might want to use the DBMS_LOGMNR package to use the LogMiner. It's not that complicated at all and just needs a couple of calls to the DBMS_LOGMNR and optionally DBMS_LOGMNR_D packages. You can check the documentation on how to use it.
    If you have Oracle Enterprise Manager you could access the LogMiner interface using the Java Console version prior to 11g.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Ocacle 12c with SQL navigator for Oracle

    Hi, Could anyone help me out. I have recently installed the Oracle 12c on my personal laptop. Trying to connect the oracle database from SQL Navigator for oracle but couldn't succeed

    874cb721-f132-4cea-b60b-c221071f680c wrote:
    Hi, Could anyone help me out. I have recently installed the Oracle 12c on my personal laptop. Trying to connect the oracle database from SQL Navigator for oracle but couldn't succeed
    I tried to make my car go but couldn't succeed.
    Tell me how to make my car go.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • A GRAPHIC INTERFACE FOR ORACLE ???

    hi,
    i have not found a graphic interface for oracle 8 for linux, in
    the "K" applications, but i bought applixware and with applixdata
    i don't find how to connect to oracle, please help me. or by
    staroffice, i know that's possible via ODBC.
    thanks to answer me.
    null

    alexandre de Vendeuvre (guest) wrote:
    : hi,
    : i have not found a graphic interface for oracle 8 for linux, in
    : the "K" applications, but i bought applixware and with
    applixdata
    : i don't find how to connect to oracle, please help me. or by
    : staroffice, i know that's possible via ODBC.
    : thanks to answer me.
    have you find an answer, it is really working with staroffice?!
    Please, hit an answer,
    ThanX.
    null

  • Need help for learning how to develop interfaces for Oracle R12 EBS

    Hi all,
    I need to learn how to create interfaces in PL/SQL for Oracle R12 EBS Financials. I cannot find a good starting point for the documentation and examples to help me get started in this area. Would appreciate tips
    for this area.

    Hi,
    What kind of interfaces you are planning to develop?
    Oracle already provides list of APIs that can be used (in R12, it is responsibility).
    Oracle Integration Repository Documentation Resources Release 12 [ID 396116.1]
    Oracle Integration Repository
    http://irep.oracle.com/index.html
    If those APIs do not satisfy your requirements, you can refer to "Oracle Applications Developer" guide as well as SQL-PL/SQL guides.
    Applications Releases 11i and 12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Database Documentation -- SQL-PL/SQL
    http://www.oracle.com/technetwork/database/enterprise-edition/documentation/index.html
    Thanks,
    Hussein

  • Whats the Approx. plan for Oracle 11g2 64-bit release plan?

    Hi,
    I am looking for Oracle 10g2 for Win 7 64-bit but do not have any choice except to wait for 11g2 64-bit release.
    I looked at the other similar thread but didn't find any date.
    Re: What is the plan for 64-bit Windows?
    Can anybody tell me the approx. date of release for 11g2 with Win 7 64-bit support?
    Thanks,
    Jignesh

    > Question is which does SAP ECC 6.0 support ( or recommend ) Oracle 64 bit Dedicated or Shared Server db migration ?
    Never heard that anyone uses shared Server Setup with SAP.
    With SAP, it is NOT the user having a DB connection.
    It is the workprocess, and it is keeping it even if all users are idle.
    You allways have dedicated Oracle processes for SAP Workprocesses.
    The rather old note 70197 states, that Oracle MTS (multi threaded server)
    allowed, but you are on your own to configure it and there are some pitfalls.
    Volker

  • SQL Load from Oracle into 64 bit Essbase 9.3.1 - issue

    I have a sql load that works fine in 32 bit Essbase 7.1.5
    Now I have setup the same sql load in a new 64 bit Essbase 9.3.1 environment. SQL runs. However when it retrieves it is not retrieving some fields "correctly". For example I have some extract functions in the SQL to extract the month or year from a date field. These are returning "0" now for the month or year. (the function syntax is correct as it works in the 7.1.5 environment. Plus for all my fields that are returning numeric dollar values, they are returning a value of "0" instead of the correct value (which it returns in the 7.1.5 environment).
    The sql works correctly if run in SQLPlus. So Essbase is having the issue.
    Any ideas?
    Edited by: Sean V on Jun 5, 2009 7:48 AM

    Hi Sean,
    If you can do it yourself or someone else who can do it for you,
    create a view in your db schema you are connected to and use a tool like Oracles SQLDeveloper (it's for free) or something similar to check your query result by select from your view.
    This way you can hide your internal logic behind this view and no one has to worry about it.
    From my POV this approach has no drawback but only advantage for you.
    If it works as expected put the view into your rules file (I do assume you are using rules files)
    Example (you need the CREATE VIEW privilege for you account(schema)):
    CREATE v_dataload as
    SELECT DIM_COL1 as year , DIM_COL2 as month, DIM_COL3 as market , DATA_COL1 as profit, DATA_COL2 as costs .... etc.,
    In you rules file you then just put in the SELECT box: year,month, profit, costs ...
    and in the table box: v_dataload
    If you name you columns like the Dimension (Gen1) you have the comfort that essbase automatically maps the columns tho the appropriate dimension. (But remember a colum in Oracle can have only up to 30 Characters)
    Back to you question:
    If you get a correct result from you view when using SQLDeveloper but not in you rules file I would say it's very likely a ODBC driver problem.
    If so, please check if you have installed the correct driver for your system. MERANT driver is the best choice as fare as I know.
    In normal cases you never should have to cast anything into a VARCHAR, since exactly this is the job of the ODBC driver.
    However, if everything fails and a cast (like Glen said) is the only way you can make it work put this cast into your view too.
    CREATE v_dataload as
    SELECT TO_CHAR(DIM_COL1) as year , TO_CHAR(DIM_COL2) as month, TO_CHAR(DIM_COL3) as market ,TO_CHAR( DATA_COL1) as profit, TO_CHAR(DATA_COL2) as costs .... etc.,
    Regards
    Andre
    Edited by: andreml on Dec 16, 2009 12:52 PM

  • Assigning multiple interfaces for Oracle API Gateway (OAG)

    We are deploying Oracle API Gateway to throttle our incoming API requests. We would like to keep the incoming external API requests separate from the internal configuration management so that they go through different interfaces when accessing the OAG server. This is mainly for security reasons so that the external people won’t have access to the interface used by internal operations team to manage OAG. Based on your experience, is there any standard best practice to accomplish this? We were thinking to perhaps use two of the server’s network interfaces with different IPs, one for the incoming API requests and the other for the internal admin management of OAG. But not sure if this is the best way to do what we need. We are aware of OAG's capability to support two separate ports to handle this situation, but would like a more secure set-up that could completely eliminate external access to the OAG management done by the IT team.
    Would appreciate any thoughts on best practices used regarding multiple interfaces for OAG set-up. Thank you. Oracle Marketing Cloud.

    You are on the right track.
    Here is how you can achieve this:
    You can use multiple network interfaces on the UNIX machine and setup networking/routing in such a way that all external traffic comes on on one card and is routed internally via a different card.
    Segregate difference types of services (i.e to be used by external clients vs internal apps) into difference different "Service Groups". Have each of these service groups listen on different port + NIC card (under Listeners, you can define a port to list to list on a specific network address and port instead of *).
    Setup additional protection for services that will be accessed by external clients. Use "Threatening Content " filter to protect your services.
    Setup 2 way SSL for the interface that will be called by external clients. Setup a DN based authorization check if you want to have both authentication and authorization.
    Hope this helps.
    -Thanks,
    Ankit Kumar

  • Teradata SQL interface For Essbase

    Hi,
    Can anyone give me an idea on how exactly Teradata sql interface works while loading data in essbase cubes? Does it create any temporary storage while fetching the data from source system? How can we make the process faster other than using teradata parallel transporter and THREADSWRITE for essbase? And I think it's better to do the transformations in sql itself, rather than doing it in rule file.
    Thanks in advance!

    From what I understand EPM Fusion Edition 11.1.1 has optimized loading from Teradata I'm not sure, but it may take advantage of fast export. I believe it has to create a temporary table on Teradata(spool) to gather that data together to send to Essbase. I agree it is better to do the transformation in the SQL before getting it to Essbase, you have more flexibility to get things the way you want in SQL(more complex logic and transformations)

  • Interface for Oracle 9i

    I have an Oracle9i database with client’s information that I’d like to design an interface for and give access to the clients to login and see their preferences, see what's the status of their services and so on.
    What’s the best way to go by this? I have experience in ASP, .Net and PHP.
    Thank you,
    Lawk Salih
    www.lawksalih.com

    Before invoke to OEM ( Oracle Enterprise Manager ) as is is described above. You have to do this:
    1.- To login as root in a console
    2.- apply this: xhost +127.0.0.1
    3.- su - oracle
    4.- apply this: xhost +127.0.0.1
    5.- oemapp console
    Joel Pérez
    http://otn.oracle.com/experts

  • Refining SQL Replacement for Oracle's WM_CONCAT Function (Pivoting Rows to column)

    Greetings,
    I am moving a query from Oracle SQL to Microsoft SQL and am having some difficulty with the transition. Part of my code (listed here) used to pivot the data and display RESULT_VALUE 
    by the CPI_SEQ . In Oracle this was easy to do by using the function: WM_CONCAT.
    I have been ‘Googling’ for the non-Oracle way to achieve this and stumbled on to the “STUFF((SELECT…)”
     method. This almost works for me except that it places everything into one cell, whereas
     I need to concatenate  RESULT_VALUE by CPI_SEQ (the CPI_SEQ is the unique ID). The current code gives me this:
    RESULTS
    Anxiety, Depression, Diabetes, 
    COPD, ARDS
    Whereas I want  my code to present it this way instead
    CPI_SEQ                              
    RESULTS
    22                                          
    Anxiety, Depression
    44                                          
    Diabetes
    46                                          
    COPD, ARDS
    SELECT (STUFF((SELECT ',' + RESULT_VALUE
    FROM
    SELECT DISTINCT
    C1.CPI_Seq AS CPI_SEQ,C1.Result_Value AS RESULT_VALUE
    ,count(FCurrent.Field_Name) "Current"
    ,count(FPast.Field_Name) "Past"
    ,Count(*) Count
    ,CASE
    When count(FCurrent.Field_Name) > 0 and count(FPast.Field_Name) >0 and count(Fcurrent.Field_Name)+ count(FPast.Field_Name) = Count(C1.PF_RESULT_SEQ) Then CONCAT(C1.Result_Value,'(C/P)')
    When count(FCurrent.Field_Name) > 0 and count(FPast.Field_Name) =0 and count(Fcurrent.Field_Name)+ count(FPast.Field_Name) = Count(C1.PF_RESULT_SEQ) Then CONCAT (C1.Result_Value,'(C)')
    When count(FCurrent.Field_Name) = 0 and count(FPast.Field_Name) >0 and count(Fcurrent.Field_Name)+ count(FPast.Field_Name) = Count(C1.PF_RESULT_SEQ) Then CONCAT(C1.Result_Value,'(P)')
    End Result
    From
    [AnalyticsDW].[dbo].[rr_stag_PF_Results] A1
    join [AnalyticsDW].[dbo].[rr_stag_PF_Results] C1 on A1.PF_Result_Seq = C1.PF_Result_Seq
    join [AnalyticsDW].[dbo].[rr_PF_Fields_Dept] FCurrent on A1.PF_Result_Seq = FCurrent.RES_SEQ
    AND FCurrent.Field_Name = 'Current'
    AND A1.Label_Seq in('187582', '187576','187612','187600','187618','187612')
    left join [AnalyticsDW].[dbo].rr_PF_Fields_Dept FPast on A1.PF_Result_Seq = FPast.Res_Seq
    AND FPast.Field_Name = 'Past'
    AND A1.Label_Seq in('187583', '187577','187613','187601','187619','187613')
    WHERE
    A1.Result_Value ='Yes'
    AND (C1.Result_Value in ('Dyspnea', 'Confusion','Pressure Ulcer', 'Stasis Ulcer','Depression','Anxiety'))
    GROUP BY
    C1.CPI_Seq,
    C1.Result_Value
    ) L1
    FOR XML PATH('')),1,2,'')) RESULTS

    ;With CTE
    AS
    SELECT
    C1.CPI_Seq AS CPI_SEQ,
    C1.Result_Value AS RESULT_VALUE
    From
    [AnalyticsDW].[dbo].[rr_stag_PF_Results] A1
    join [AnalyticsDW].[dbo].[rr_stag_PF_Results] C1 on A1.PF_Result_Seq = C1.PF_Result_Seq
    join [AnalyticsDW].[dbo].[rr_PF_Fields_Dept] FCurrent on A1.PF_Result_Seq = FCurrent.RES_SEQ
    AND FCurrent.Field_Name = 'Current'
    AND A1.Label_Seq in('187582', '187576','187612','187600','187618','187612')
    left join [AnalyticsDW].[dbo].rr_PF_Fields_Dept FPast on A1.PF_Result_Seq = FPast.Res_Seq
    AND FPast.Field_Name = 'Past'
    AND A1.Label_Seq in('187583', '187577','187613','187601','187619','187613')
    WHERE
    A1.Result_Value ='Yes'
    AND (C1.Result_Value in ('Dyspnea', 'Confusion','Pressure Ulcer', 'Stasis Ulcer','Depression','Anxiety'))
    GROUP BY
    C1.CPI_Seq,
    C1.Result_Value
    SELECT CPI_Seq,
    STUFF((SELECT ',' + Result_Value
    FROM CTE
    WHERE CPI_Seq = c.CPI_Seq
    FOR XML PATH(''),TYPE).value('.','varchar(max)'),1,1,'') AS Results
    FROM (SELECT DISTINCT CPI_Seq FROM CTE)c
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL Installation for SharePoint 2013 - Windows Firewall - Profile - domain, Public and Private - Which ones to choose?

    Hi there,
    I am setting up SQL Server (to be used in our SharePoint 2013 farm).
    The Firewall exception for SQL server gives me three choices in Profile section as 
    Domain, Public and Private profiles 
    Which ones should I choose please? 
    Thank you so much.

    Hi,
    According to your description, my understanding is that you want to set the firewall exception for SQL server.
    Domain profile—This profile is active when the server is connected to an Active Directory (AD) domain via an internal network. This is the profile that's typically active, because most servers are members of an AD domain.
    Private profile—This profile is active when the server is a member of a workgroup. Microsoft recommends more restrictive firewall settings for this profile than for the domain profile.
    Public profile—This profile is active when the server is connected to an AD domain via a public network. Microsoft recommends the most restrictive settings for this profile.
    More information, please refer to the link:
    http://windowsitpro.com/windows/windows-server-2008-r2-firewall-security
    Please 'propose as answer'
    if it helped you, also 'vote helpful' if you like this reply.
    Prabhu

  • Env Variable setting for Oracle 11g windows 2003 R2

    Hi ,
    While installing the Oracle 11g on windows 2003 R2 getting error while running the prerequsite steps for installtion.failing the env variables path. Please guide us to set up the Environmental variable for the oracle 11g installation.
    Thanks..

    Tippu wrote:
    Hi,
    Oracle version Oracle 11.2.0.1
    Os Windows 2003 R2
    we had set some values. though we are getting the below errors.
    Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
    Expected Value
     : 1023
    Actual Value
     : 0
     List of errors:
    PRVF-3916 : Environment variable name "PATH" is not set on node "laxwzcl01"  - Cause:  Environment variable value could not be determined.  - Action:  Ensure that the environment variable is set and access permissions for the Oracle user allow access to read the environment variables. Restart the installer after correcting the setting for environment variable.It's like setting any other environment variable in Windows ...
    Right click My Computer, select Properties > Advanced tab > Environment variables button ...
    It should be self-evident from that point.

  • Can I change the SQL Datatype for Oracle Date?

    xMII 11.5 maps Oracle's Date type to its SQL type code 91 (Date).  When used in a display template, this xMII type displays only the date component (for example, "5/5/2007"), but in Oracle it holds the date and time.  In Java, the java.sql.Date type also holds the time component.  To get xMII to display a date/time (for example, "5/5/2007 11:23:59") you must have a SQL type code of 93 (Timestamp).
    Is there any way to get my xMII widgets to show the date and time components of an Oracle Date?  Is there a mapping of some kind that tells xMII which database SQL types map to which xMII SQL type codes?
    -tim

    In Aqua Data Studio:
    SELECT CREATED_DATE_TIME, MESSAGE FROM COLLABORATION_LOG
    where CREATED_DATE_TIME > to_date('01/01/07','mm/dd/yy') and site='DEM1'
    order by CREATED_DATE_TIME DESC
    GO
    results:
    CREATED_DATE_TIME   MESSAGE                                                                        
    5/3/2007 8:30:25 PM   (403)Access Forbidden                                                          
    5/3/2007 8:30:25 PM   (403)Access Forbidden                                                          
    5/3/2007 8:30:25 PM   (403)Access Forbidden   
    If I put the exact same SQL (without the "GO" at the end which is an Aqua Data Studio keyword) into a Fixed SQL Query in xMII and click "Test" and choose html format I get:
    CREATED_DATE_TIME MESSAGE
    05/03/2007 00:00:00 (403)Access Forbidden
    05/03/2007 00:00:00 (403)Access Forbidden
    05/03/2007 00:00:00 (403)Access Forbidden
    The time component is reported as "00:00:00" in xMII which is not the desired result.  I want xMII to see that column as a Timestamp which should read and sore both the date and time components in xMII.
    -tim

  • Do I need to set Microsoft Driver for Oracle in Windows XP?

    Hi,
    I need to insert data into Oracle Table from java Code.
    I need to use JDBC-ODBC Bridge.
    The code is:
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.Connection;
    import java.sql.DriverPropertyInfo;
    import java.util.Enumeration;
    import java.util.Properties;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DriverTest {
    String protocol ="jdbc:odbc://wbalud1b.npc.za:1572/ORA8D.NPC.ZA";
    String driverClass ="sun.jdbc.odbc.JdbcOdbcDriver";
    //Connection conn = DriverManager.getConnection(protocol,"TUTU_CONN","TUTU142");
    Connection connection;
    Statement statement;
    public void initialize() throws SQLException, ClassNotFoundException {
    Class.forName(driverClass);
    connection = DriverManager.getConnection(protocol);
    if(connection!=null)
    System.out.print("The Connection is not null now");
    public static void main(String args[]) {
    DriverTest driverTest = new DriverTest();
    try {
    driverTest.initialize();
    catch(SQLException sqlException) {
    while(sqlException !=null)
    sqlException.printStackTrace();
    sqlException = sqlException.getNextException();
    catch(Exception e)
    e.printStackTrace();
    }I am getting a runtime error.
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name too lon
    g
            at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
            at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
            at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3074)
            at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:3
    23)
            at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
            at java.sql.DriverManager.getConnection(DriverManager.java:525)
            at java.sql.DriverManager.getConnection(DriverManager.java:193)
            at DriverTest.initialize(DriverTest.java:22)
            at DriverTest.main(DriverTest.java:35)Regards
    Taton

    Hi,
    I am getting runtime Exception:
    java.sql.SQLException: No suitable driver
            at java.sql.DriverManager.getConnection(DriverManager.java:545)
            at java.sql.DriverManager.getConnection(DriverManager.java:193)
            at DriverTest.initialize(DriverTest.java:24)
            at DriverTest.main(DriverTest.java:37)with the below code
    import java.util.Enumeration;
    import java.util.Properties;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DriverTest {
    String protocol ="jdbc:odbc:thin:@wcalqd0b.pwc.ca:1522:ORA9D.PWC.CA";
    String driverClass ="oracle.jdbc.driver.OracleDriver";
    //Connection conn = DriverManager.getConnection(protocol,"REG_CONN","REG123");
    Connection connection;
    Statement statement;
    public void initialize() throws SQLException, ClassNotFoundException {
    Class.forName(driverClass);
    connection = DriverManager.getConnection(protocol);
    if(connection!=null)
    System.out.print("The Connection is not null now");
    public static void main(String args[]) {
    DriverTest driverTest = new DriverTest();
    try {
    driverTest.initialize();
    catch(SQLException sqlException) {
    while(sqlException !=null)
    sqlException.printStackTrace();
    sqlException = sqlException.getNextException();
    catch(Exception e)
    e.printStackTrace();
    }I have configured the classpath variable as
    SET Classpath=.;E:\Oracle\product\10.1.0\Client_1\jdbc\lib\classes12.jar;E:\Oracle\product\10.1.0\Client_1\jdbc\lib\ojdbc14.jar;D:\Program Files\Java\jdk1.5.0_15\bin;E:\Oracle\product\10.1.0\Client_1\bin;E:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;E:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Sun\studio_04Q4\Ent_04Q4\modules\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;
    Regards
    Taton

Maybe you are looking for