Oracle RDB Driver fails with JDBC/ODBC Bridge

Has anyone experienced problems using the latest Oracle RDB
Driver (3.0.2.0) with the JDBC/ODBC Bridge.
We have been using the Oracle ODBC Driver for RDB (2.10.17)
successfully on NT, but it is not supported on W2K. The new
drivers work fine for Access etc., but fail with the bridge.
Specifically, you can step thru a result set, but getObject()
returns null for all fields.
Any suggestions?
Joe

This forum is for general suggestions and feedback about the OTN
site. For technical question about an Oracle product, you can
select the appropriate discussion forum in our 'Discussions'
section at: http://forums.oracle.com/forums/homepage.jsp
Best regards, OTN Team

Similar Messages

  • Create toplink ofline db objects fails over jdbc-odbc bridge to MSAccess db

    Hi, using JDev 10.1.3.0.4 in an EJB , Toplink, JSF application I cannot create Toplink Objects from tables , I get every time a null pointer exception in the last step when I click on the Finalize button.
    I have seen other threads the recomend to rebuild the Data Model Project using the Run Menu, that didnt work, Checking unchecking Tools/Preference/Show Compile Progress , didnt help neither.
    If the problem is that toplink is incompatible with the jdb-odbc bridge, then where I can get/download a jdbc ms access cappable driver that toplink will work with?
    Thanks,
    Omar
    Exception below:
    java.lang.NullPointerException
         at oracle.jdeveloper.offlinedb.handler.AbstractTransferHandler.getTargetSchema(AbstractTransferHandler.java:864)
         at oracle.jdeveloper.offlinedb.handler.AbstractTransferHandler.findExistingObject(AbstractTransferHandler.java:826)
         at oracle.jdeveloper.offlinedb.handler.ImportHandler.findExistingObject(ImportHandler.java:814)
         at oracle.jdeveloper.offlinedb.handler.AbstractTransferHandler.copyObjectsForTransfer(AbstractTransferHandler.java:935)
         at oracle.jdeveloper.offlinedb.handler.ImportHandler.copyObjectsForTransfer(ImportHandler.java:974)
         at oracle.jdeveloper.offlinedb.handler.AbstractTransferHandler.run(AbstractTransferHandler.java:352)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)

    Look under http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.1/install.html#supported_db to check whether your database is supported (see Offline Database Support column in the table).
    Also you can do the following to check whether importing offline tables is causing an issue. See " Importing Tables from a Database Connection" under http://www.oracle.com/technology/obe/obe1013jdev/dbdevelopment/obe_%20dbasedevmt.htm
    Hope this helps.
    Anuj

  • Problem with JDBC-ODBC bridge

    OS in my PC is Windows7 Ultimate(64-bit), and I had JDK1.7.0_21(compatible with my PC), Oracle 10G ExpressEdition(32-Bit), ApacheTomcat7.0.11(compatible with my PC).
    As my OS is 64-BIT, I accessed C:\Windows\SysWOW64\odbcad32 and  I selected UserDSN tab->Add->Microsoft ODBC for Oracle->finish,tapply->ok. Then a Dialog Box appeared and I entered a DSN name=ramsdsn and my DATABASE USERID=rams in username->ok->apply->ok.
    But when I tried to compile my program using:
          DriverManager.getConnection("jdbc:odbc:ramsdsn","rams","rams");
    I got an error:java.sql.SQLException: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
    Help me FRNZ.. I have been trying it for 7 days and I'm tired of it and I could not figured it yet...
    THANKS in Advance...

    Wrong database is the most likely reason.
    Note that the ODBC driver is not a good driver for MS SQL Server. It handles varchar as chars. So an insert of 'A' into a varchar(25) will end up with 'A' followed by 24 spaces. And that probably isn't what you want your varchars to do.

  • Problem With Jdbc-Odbc BRidge Connection

    I get The following error
    SQLException:[Microsoft][ODBC Driver Manager] Invalid cursor state
    when using the code
    whats the problem with it
    import java.sql.*;
    public class Employee {
    String DBurl;
    Connection con;
    public Employee(String url)
    DBurl=url;
    void queryTest()
    String query="SELECT * FROM EmpTable";
    ResultSet result;
    Statement stmt;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException e){
    System.err.println("Class not Found Exception:");
    System.err.println(e.getMessage());
    try{
    con=DriverManager.getConnection(DBurl,"myLogin","mypassword");
    stmt=con.createStatement();
    result=stmt.executeQuery(query);
    System.out.println("ID"+"\t"+"Name"+"\t"+"Rate"+"\t"+"DeptID");
    System.out.println("--"+"\t"+"----"+"\t"+"---"+"\t"+"----");
    while(result.next());
    String name=result.getString("Name");
    int ID=result.getInt("ID");
    float rate=result.getFloat("Rate");
    int deptID=result.getInt("DeptID");
    System.out.println(ID+"\t"+name+"\t"+rate+"\t"+deptID);
    stmt.close();
    con.close();
    catch(SQLException ex){
    System.err.println("SQLException:" + ex.getMessage());
    public static void main(String args[])
    Employee app = new Employee("jdbc:odbc:Employee");
    app.queryTest();
    }

    here's your mistake:
    while(result.next());  // <--- the loop body is empty.Remove the semi-colon.
    %

  • JDBC ODBC bridge (JDK 1.4) exception in native code

    I am using jdk 1.4 on windows 98. I have written this simple java program which uses jdbc odbc bridge to connect to an MS Access 2000 db.
    An exception in native code is thrown only when I use createStatement with scrollable resultset. If I use createStatement() with default forward only resultset type, then program works.
    import java.sql.*;
    public class Select
         public static void main(String[] args)
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection con = DriverManager.getConnection("jdbc:odbc:shopping");
                   Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   String query = "SELECT * from products";
                   ResultSet rs = stmt.executeQuery(query);
                   while (rs.next())
                        String s = rs.getString("name");
                        float n = rs.getFloat("price");
                        System.out.println(s + " " + n);
              catch (ClassNotFoundException e)
                   System.out.println("Class Not Found: " + e.getMessage());
              catch (SQLException e)
                   System.out.println("SQL Exception: " + e.getMessage());
    The program produces this error with scrollable resultset:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D366658
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at sun.jdbc.odbc.JdbcOdbc.setStmtAttrPtr(Native Method)
         at sun.jdbc.odbc.JdbcOdbc.SQLSetStmtAttrPtr(JdbcOdbc.java:4676)
         at sun.jdbc.odbc.JdbcOdbcResultSet.setRowStatusPtr(JdbcOdbcResultSet.java:4473)
         at sun.jdbc.odbc.JdbcOdbcResultSet.initialize(JdbcOdbcResultSet.java:171)
         at sun.jdbc.odbc.JdbcOdbcStatement.getResultSet(JdbcOdbcStatement.java:423)
         - locked <02C74480> (a sun.jdbc.odbc.JdbcOdbcStatement)
         at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:253)
         at Select.main(Select.java:13)
    Dynamic libraries:
    0x7CC00000 - 0x7CC1D000      D:\WINDOWS\SYSTEM\IMAGEHLP.DLL
    Local Time = Mon Jan 20 00:16:15 2003
    Elapsed Time = 7
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
    # An error report file has been saved as hs_err_pid4294751525.log.
    # Please refer to the file for further information.
    Is there any problem with jdbc odbc bridge driver?

    No. This is not a bug. Not all databases support (or have to support) all types of resultsets. It is your responsibility to ensure that a particular resultset is supported before you use it. That said, one would definitely expect a more descriptive error message in case of inadvertant use.

  • Access MS-Access using JDBC ODBC bridge from Sun AMD64

    Hi,
    We are trying to configure a communication channel using the JDBC adapter. We are setting the driver to the JDBC-ODBC bridge driver and trying to access an MS Acess database from the PI server(sun amd64). When we set the driver to the JDBC-ODBC bridge, the J2EE engine tries to restart immediately and does not start. The std_server.out contains the following error:
    Service com.sap.aii.adapter.jdbc.svc started. (234 ms).
    1016 sun.io.CharToByteASCII::convert (370 bytes)
    1017 ! com.sap.sql.jdbc.common.CommonPreparedStatement::close (119
    bytes)
    ld.so.1: jlaunch: fatal: relocation error:
    file /usr/j2se/jre/lib/amd64/libJdbcO
    dbc.so: symbol SQLAllocEnv: referenced symbol not found
    Has anybody been able to configure the JDBC-ODBC bridge driver for MS Access? Also, has anybody used the database vendor(MS) drivers? If so, where are they available.
    Thanks in advance
    Vipin

    Hi
    Please go through below links that would be helpful to you
    SAP Network Blog: Connecting to MS Access using receiver JDBC Adapter (Without DSN)
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    If required Try the following driver. I havent used it but its available.
    HXTT Access is such a type 4 driver at http://www.hxtt.net/en/software/access/document.html .
    Thanks
    Swarup

  • Connecting remote FoxPro dbf file using jdbc odbc bridge driver?

    Hi all,
    I am new to this topic, (even I read some threads)
    I need to access some FoxPro tables (dbf files) and select some data and save to an oracle table. what is the best method to do this?
    If I use java as development tool. which other drivers or methods to use beside jdbc-odbc driver?
    I read from this link but I didn't understand.
    http://java.sun.com/products/jdbc/faq.html#5
    "5. How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
    Most desktop databases currently require a JDBC solution that uses ODBC underneath. This is because the vendors of these database products haven't implemented all-Java JDBC drivers.
    The best approach is to use a commercial JDBC driver that supports ODBC and the database you want to use. See the JDBC drivers page for a list of available JDBC drivers.
    The JDBC-ODBC bridge from Sun's Java Software does not provide network access to desktop databases by itself. The JDBC-ODBC bridge loads ODBC as a local DLL, and typical ODBC drivers for desktop databases like Access aren't networked. The JDBC-ODBC bridge can be used together with the RMI-JDBC bridge, however, to access a desktop database like Access over the net. This RMI-JDBC-ODBC solution is free.
    "

    Another solution by using HXTT DBF, a commercial type 4 JDBC package: You should read Remote Access Questions section at http://www.hxtt.net/en/software/dbf/faq.html#remote .

  • Problems with JDBC-ODBC Driver

    Hello,
    I am trying to access a DSN on my windows with a dedicated DB driver of some company. so i used the JDBC-ODBC connector.
    when launching the java code, and debugging the problem i get the following error:
    DriverManager.getConnection("jdbc:odbc:priority32;UID=Manager;PWD=keren")
        trying driver--className=com.mysql.jdbc.Driver,com.mysql.jdbc.Driver@16caf43--
        trying driver--className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@66848c--
    *Driver.connect (jdbc:odbc:priority32;UID=Manager;PWD=keren)
    JDBC to ODBC Bridge: Checking security
    No SecurityManager present, assuming trusted application/applet
    JDBC to ODBC Bridge 2.0001
    Current Date/Time: Tue Aug 12 07:50:37 VET 2008
    Loading JdbcOdbc library
    Allocating Environment handle (SQLAllocEnv)
    hEnv=50338088
    Allocating Connection handle (SQLAllocConnect)
    hDbc=50338256
    Connecting (SQLDriverConnect), hDbc=50338256, szConnStrIn=DSN=priority32;UID=Manager;PWD=keren
    *Connection.getMetaData
    *DatabaseMetaData.getDriverName
    Get connection info string (SQLGetInfo), hDbc=50338256, fInfoType=6, len=300
    tabula.dll
    *DatabaseMetaData.getDriverVersion
    Get connection info string (SQLGetInfo), hDbc=50338256, fInfoType=7, len=300
    07.00.0000
    *DatabaseMetaData.getDriverName
    Get connection info string (SQLGetInfo), hDbc=50338256, fInfoType=6, len=300
    tabula.dll
    Driver name:    JDBC-ODBC Bridge (tabula.dll)
    *DatabaseMetaData.getDriverVersion
    Get connection info string (SQLGetInfo), hDbc=50338256, fInfoType=7, len=300
    07.00.0000
    Driver version: 2.0001 (07.00.0000)
    Caching SQL type information
    *Connection.getMetaData
    *DatabaseMetaData.getTypeInfo
    Allocating Statement Handle (SQLAllocStmt), hDbc=50338256
    hStmt=50339424
    Get type info (SQLGetTypeInfo), hStmt=50339424, fSqlType=0
    Number of result columns (SQLNumResultCols), hStmt=50339424
    value=15
    Get connection info string (SQLGetInfo), hDbc=50338256, fInfoType=10, len=300
    03.52.0000
    Fetching (SQLFetch), hStmt=50339424
    Column attributes (SQLColAttributes), hStmt=50339424, icol=1, type=2
    value (int)=12
    Column attributes (SQLColAttributes), hStmt=50339424, icol=1, type=3
    value (int)=129
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    CHAR
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=12
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    CHAR(1)
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=1
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    RCHAR
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=12
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    REAL
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=6
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    INT
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=4
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    UNSIGNED
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=4
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    TIME
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=10
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    DATE
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=11
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    DATE
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=9
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    DAY
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=4
    Fetching (SQLFetch), hStmt=50339424
    Get string data (SQLGetData), hStmt=50339424, column=1, maxLen=130
    DECIMAL
    Get integer data (SQLGetData), hStmt=50339424, column=2
    value=3
    Get integer data (SQLGetData), hStmt=50339424, column=3
    value=0
    Fetching (SQLFetch), hStmt=50339424
    End of result set (SQL_NO_DATA)
    *ResultSet.close
    Free statement (SQLFreeStmt), hStmt=50339424, fOption=1
    *ResultSet has been closed
    Get connection info (SQLGetInfo), hDbc=50338256, fInfoType=44
    int value=0
    Get connection info (SQLGetInfo), hDbc=50338256, fInfoType=121
    RETCODE = -1
    ERROR - Generating SQLException...
    SQLState(S1096) vendor code(0)
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Information type out of range
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetInfo(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcConnection.checkBatchUpdateSupport(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at WigsUpdate.main(WigsUpdate.java:25)
    getConnection returning driver--className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@66848c--what can be done?
    thank you very much

    HimberJack wrote:
    oh now i understand.
    i got a very unknown company which supplied the ODBC driver, but they dont have java driver...
    so I have nothing to do about it?The choices are find a different driver or use the one you have.
    The one you have doesn't do batches.
    Finding a different driver could involve the following.
    - Buying one from somewhere else
    - Pay someone to write one.
    - Write a driver yourself.
    All of those are somewhat dependent that the "unknown company" has an API that supports that. You (or someone) could also figure out the file format of the "unknown company" as well and then write one.

  • JDBC-ODBC Bridge with iAS on UNIX

    Can the Sun JDBC-ODBC bridge be used with iAS on UNIX (Solaris)? If possible, can someone share the basic steps. For example, what parameters to enter when configuring the bridge as a datasource and also how to pass needed environment variables (LD_LIBRARY_PATH has to have the path of the ODBC driver manager).
    I need to connect to a ODBC driver on UNIX, no JDBC driver is available for this data source, nor is a Windows solution acceptable.
    I have iAS 6.0 SP3 with iWS 4.1 SP9 on Solaris 8.

    Hi,
    I'm not sure if there is a free download available, but you can find some help by visiting the following URL http://www.dbmaker.com/Header/Frame_Forum.htm
    For the exact steps, I think this would be more helpful http://www.dbmaker.com/reference/technotes/jdbc.html
    Please let me know if this helps.
    Regards
    Raj

  • JDBC-ODBC Bridge with iAS on Solaris

    Is there any way to use the Sun JDBC-ODBC bridge with the iPlanet
    Application Server running on UNIX (Solaris)? If it is possible, can
    someone who has done it share the basic steps. For example, I cannot
    figure out what parameters to enter when configuring the bridge as a
    datasource and also how to pass certain environment variables (eg the
    LD_LIBRARY_PATH which points to the ODBC driver manager).
    It seems that on Windows iAS has ODBC as a Type 2 JDBC data source (at
    least the manuals have screenshots with ODBC nodes). However I need to
    have iAS running on Solaris (and connecting to a proprietary ODBC
    driver; no JDBC driver is available for this data source).
    I have iAS 6.0 SP3 with iWS 4.1 SP9 on Solaris 8.
    TIA!
    George
    P.S. Apologies if this is a frequently asked question, but I could not
    find archives of the iplanet.ias.* groups. I wish Google would carry
    them...

    Hi,
    I'm not sure if there is a free download available, but you can find some help by visiting the following URL http://www.dbmaker.com/Header/Frame_Forum.htm
    For the exact steps, I think this would be more helpful http://www.dbmaker.com/reference/technotes/jdbc.html
    Please let me know if this helps.
    Regards
    Raj

  • JDBC-ODBC BRIDGE  "No Suitable Driver"

    I am trying to link the JAVA (VJ++) to MS ACCESS 2000. I am always getting the error: "No Suitable Driver"
    I am sure I that I have set up the SYSTEM DSN and installed jdk1.2.2 correctly. I just can't understand why it insists on not working!!??
    I have tryed everything I know, but I still cant get this problem sorted and I'm about to give up. Does the driver even work when trying to establish this kind of link???!!!
    CODE:
    public class AuditConnect
         private Connection Aconn;
         private String strUrl = "jdbc:odbc:CSDMATlink";
         private String user = "tiger";
         private String password = "tiger";
         private String Err;
         public AuditConnect()
              try
                   try
                        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");                                        
                   catch(ClassNotFoundException ex)
                        Err = ex.getMessage();                    
                   Aconn = DriverManager.getConnection(strUrl, user, password);
              catch(SQLException SQLErr)
                   Err = SQLErr.getMessage();               
    Help me please, I'm desperate!!!

    A new version of the JDK was not necessary to fix the problem. In any event let's start with configuring your box correctly. The CLASSPATH environment variable is not necessary when using the core JDK classes (of which the JDBC-ODBC bridge classes are a part of). The CLASSPATH environment variable should only be used if you have third party class libraries you wish to add. I'm assuming that's not the case so I would recommend not coding the CLASSPATH variable. However if you have it already coded make sure to add the current directory (as denoted by a dot). For example:
    SET CLASSPATH=.;c:\JDK1.4.1_03\jre\lib\rt.jar
    Although the CLASSPATH is not necessary the PATH environment variable is crucial. You need to add the JDK's BIN directory to your current PATH statement. For example:
    SET PATH=%PATH%;c:\JDK1.4.1_03\bin
    The above should resolve the No suitable driver problem you've been encountering. Since JDK 1.2.x the JDK's CLASSPATH is resolved via the PATH setting.
    Now as per my previous post you need to make sure that you really do have a well formed JDBC URL as that can also cause the No suitable driver problem.
    I'm not familiar with Win98 so I don't know if you update the environment variables via the AUTOEXEC.BAT file or if you use the Control Panel ala WinNT. Check your documentation to ensure you're updating correctly. Good luck.

  • Can't find jdbc-odbc bridge driver

    Hi
    I've installed sdk 2.0 (v1.4.1) and am getting the runtime error:
    "Exception in thread main java.lang.NoClassDefFoundError <prog name>/class" from the java prompt.
    I suspect it is the jdbc-odbc bridge driver that is the problem. It should have downloaded with the SD 2.0 installation, but I can't find it on my NT PC.
    Any ideas?

    I suspect you are using,java <program_name>.class to execute your program.
    Then it will try to find the promram 'class' in the package '<program_name>'.
    You need to use, java <program_name>, thats all.
    For eaxample if you have Prg1.java, then use,
    'javac Prg1.java' to compile it and 'java Prg1' to run it.
    Sudha

  • JDBC ODBC Bridge/Driver???

    Hi,
    Please can someone help me?
    I'm a 4th year computer science student and have a final year project to do using databases. My problem is finding a JDBC:ODBC driver/bridge(what's the difference?).Every tutorial on the web says use the
    sun.jdbc.odbc.JdbcOdbcDriver, that's all well and good but where do I get it?I've tried downloading JDBC API's but still no joy. When I do finally find a driver do I need to copy it to the folder where the rest of my project is,
    (that's what I had to do for a mysql driver I had to use before). I want to use Microsoft Access with the project for portability and ease of alteration, do I need to set up an ODBC driver for my database as well as using the JDBC:ODBC bridge?
    That probably came out like complete double dutch but I hope someone out there can make sense of it and help me.

    Please can someone help me?Start with a tutorial http://java.sun.com/docs/books/tutorial/jdbc/index.html
    Basic info on your particular problem:
    JDBC defines an 'interface' that allows one to access databases. That usually consists of serveral parts: the database, the interface layer, the jdbc driver and jdbc itself.
    JDBC comes with java. In addition a single jdbc driver, the 'jdbc-odbc bridge' driver comes with java. To use that particular driver you also need the 'interface layer' which for MS Acess will mostly already be available to you - basically the ODBC shell (not part of java) and the MS Access ODBC driver (also not part of java.)
    Keep in mind that the jdbc-odbc bridge driver uses the ODBC that is already on the box. ODBC itself is not part of the driver.
    You will probably need to configure ODBC for use as a 'DSN' (Data Source Name?). To do that you go to the control panel and use the ODBC (Data Sources) applet. Pick 'System DSN' (a panel in the dialog), push 'Add' and follow the prompts by picking a MS Access driver. You can either use 'create' or 'select' at the end to create or use an existing database.
    If this seems like too much work then search the JDBC forum using "DSN-less" as the search string. The discussions there will tell you how to set up a connect string without creating a DSN.
    If you have further questions on this particular subject it would be best to post them to the JDBC forum rather than here.

  • JDBC-ODBC Bridge Driver Suitable?

    I'm implementing a web site for a small company, so will be using MS Access for the database.
    Will a JDBC-ODBC Bridge driver be suitable?
    I ask this as I have heard that JDBC-ODBC Bridge drivers are only suitable for testing purposes - not commercial use.
    Cheers

    Ideally, you should use a third-party driver in your implementation. Not that there's anything wrong with the JDBC-ODBC Driver, but like you said, Sun never really intended it to be used for mainstream applications. It was developed to serve as a generic driver until third party drivers could be developed and released. Now that there's plenty of good third party drivers out there, the use of the JdbcOdbcDriver is really not recommended. Here's a list of current drivers available for MS Access.
    http://servlet.java.sun.com/products/jdbc/drivers/search_results.jsp?jdbc_version=0&vendor_name=&cert_mode=and&jdbc_driver_type_mode=and&dbms=6&dbms_mode=and&features_mode=and&results_per_page=20&submit=Search

  • Oracle Rdb Driver 3.1.0.0 problem with blobs

    I am trying to convert an MsAccess application to use an MsAccess front end and an Oracle Rdb back end.
    I've created the test database under VMS and can successfully link to the Oracle Rdb tables from MSAccess 2000. One of the main reasons for converting to Oracle Rdb is to be able to store large word documents in the database. I was able to do that using Oracle rdb Driver v 3.00.02.06. I recently converted to Oracle Rdb Driver version 3.1.0.0 and can no longer access the Blob field containing the Word document. MsAccess now sees this field as type ‘Binary’ and I keep getting an ‘invalid field type’ error. (with 3.00.02.06 this field was seen by MsAccess as an ‘Ole Object’ and the getchunk and appendchunk functions for getting and saving a blob worked reasonably well).
    Is this a bug in 3.1.0.0 or is there some way to get MsAccess to recognize this Binary field type?

    I suspect you'll need to contact Oracle support on this. There aren't, to my knowledge, any RDB folks around here.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

Maybe you are looking for

  • Function Module for incoming payments

    Hi All, I'm currently working on integrating the IVR system with SAP ECC 6.0 - IS-U module. I would like to know if there is any function module or BAPI which I can use to receive the payment information and the credit card information to update the

  • HT201302 transfer photos and apps to new phone

    so i activated my new iphone 5 today and seem to be having a problem. After i backed my old iphone 4 information to my computer i plugged in my new phone transfer all content over. The only thing that transferred were the contacts! is this normal? al

  • When i launch Illustrator CC it starts then quits.

    when i launch Illustrator CC it starts then quits right away and never opens.

  • BT Home Hub 3 GigE broken?

    I just got BT infinity installed today. All is working fine and getting 70/20 mb speeds, this is when I connect the cable to port 1, 2 or 3. However when I connect the cable to port 4 GigE it just drops connection. I open a dos command and ping a ran

  • Using Oracle after install without Admin rights -- Possible?

    We are upgrading our company to Windows 7. Clearly, the best practice is to remove admin rights from users. I see lots of posts on inability to install Oracle without admin rights. That makes sense. Once installed though, we are hitting errors simply