Easysoft odbc jdbc bridge

I have written aprogram which reading data from Msaccess using easysoft odbc jdbc bridge . but got error in connectivity looks like something wrong in
Class.forName ("jdbc.easysoft");
pls help if anybody is using easysoft bridge
thx

LanceJ wrote:
I'm facing a challenge providing ODBC for an in-memory Java application. There are commercial frameworks such as Simba and DataDirect but both involve extensive licensing and are too elaborate (given only read-only capability with basic single table querying required).
As stated that is not possible.
Read the following and then restate the question
[http://forums.sun.com/thread.jspa?threadID=211735&start=2&forumID=48]
Another option I'm investigating is to use an ODBC-JDBC bridge driver (such as provided by EasySoft) in combination with a bespoke JDBC connector. The question is, how complex is it to implement a SELECT-only JDBC driver to interface directly with a Java app? (And as extension, are there any libraries that can assisting in creating a JDBC driver?)That doesn't make sense.
The bridge and any "ODBC" interface is going to interact with the ODBC shell and a ODBC driver (nothing to do with java.) You can't create a ODBC driver without creating a ODBC driver. Which would seem obvious.
If you want to create a JDBC driver - which is not the same as an ODBC driver then you must implement the interfaces. Simple as that. That however requires that you must have some way to actually access the database.

Similar Messages

  • ODBC-JDBC Bridge

    Hello everybody,
    I am working on project to create an ODBC-JDBC Bridge which exposes a JNI layer between the ODBC and the JDBC calls.
    In short :
    Lets consider,
    Java already has a JDBC driver. X is a project manager who wants to use the functionality of this driver in C++. One option is to rewrite the entire driver in C++. X is now worried because he does not want to waste time and resource in doing this resource. In mean time Y gives a valid suggestion. He proposes to replicate the entire class structure of the JDBC driver. Effectively he would end up writing a wrapper class that exposes JNI methods to talk to the JDBC driver. So the classes he finally develops are just wrappers which send and get data to and from the driver.
    My Progress :
    Basically I tool following approach :
    1. I created a JNI wrapper class that would replicate all the Java classes embedded in the jar files.Please note here that the C++ code is just act as a wrapper.The Wrapper is only acting as an access point between the C++ and the JAVA code.
    2. Now how to use these wrapper to bridge ODBC - JDBC driver?
    Can anyone please give me right direction after step 1 (any type of valid suggestions are accepted .... documents,links,steps,flow etc....)?
    Thanks in Advance....

    Is this a real project? What are the actual requirements, since this seems a little backwards. What is the actual database that has a JDBC driver but no ODBC driver. Writing the driver in C or C++ is probably a better choice.
    Or is this an academic exercise?
    And yes, these questions are "valid suggestions", and even if they weren't you have no control over what responses you will get on this forum.

  • TP4: can not run application with ODBC-JDBC bridge

    Hi,
    I tried to connect to a oracle 10gR1 Database via ODBC-JDBC bridge.
    Test connection in dialog "Edit Database Connection" is sucessfull.
    When trying to run the application following error occures:
    ===========================================
    08/05/09 11:48:57 SCHWERWIEGEND: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    08/05/09 11:48:57 SCHWERWIEGEND: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    SCHWERWIEGEND: J2EE JCA-07001
    oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
         at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
         at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
         at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
         at com.evermind.server.Application.setConfig(Application.java:538)
         at com.evermind.server.Application.setConfig(Application.java:433)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
         ... 15 more
    08/05/09 11:48:58 WARNUNG: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
    java.lang.InstantiationException: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1465)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
         at com.evermind.server.Application.setConfig(Application.java:538)
         at com.evermind.server.Application.setConfig(Application.java:433)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
         at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
         at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
         at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
         ... 10 more
    Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
         ... 15 more
    09.05.2008 11:48:58 com.evermind.server.ServerMessages severe
    SCHWERWIEGEND: Exception beim Initialisieren der bereitgestellten Anwendung: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
    java.lang.InstantiationException: Application: current-workspace-app is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:636)
         at com.evermind.server.Application.setConfig(Application.java:433)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1465)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
         at com.evermind.server.Application.setConfig(Application.java:538)
         ... 7 more
    Caused by: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
         at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
         at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
         at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
         ... 10 more
    Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
         ... 15 more
    09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNUNG: J2EE JNDI-00002
    09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger log
    WARNUNG: Kein javax.jms.ConnectionFactory in null gefunden
    09.05.2008 11:49:01 com.evermind.server.http.HttpMessages internalErrorWhileTryingToInstantiate
    SCHWERWIEGEND: Interner Fehler ausgelöst beim Versuch, die Web-Anwendung zu instanziieren: GoodsReceipt-ViewController-webapp definiert in Website Default Web Site. Application: current-workspace-app does not exist. Error creating Web application: GoodsReceipt-ViewController-webapp
    Ready message received from Oc4jNotifier.
    Embedded OC4J Server startup time: 12375 ms.
    =========================================
    OC4J is up and running, but browser gives error message (404 Not found)
    With JDBC connection this application works fine.
    Here my jdev specific environment variables:
    SET JOH=c:\software\Oracle_JDEV11gP4
    SET JDEV_USER_DIR=c:\jdeveloper\home
    SET JAVA_HOME=c:\software\Oracle_JDEV11gP4\jdk\bin
    Can anybody help me?
    br
    Peter

    Peter --
    Can you please describe your use case? The JDBC-ODBC bridge driver is not all that reliable. Sun considers it "transitional" and it is not supported by them.
    http://java.sun.com/j2se/1.5.0/docs/guide/jdbc/bridge.html
    We still include the driver in JDev primarily to allow connections to MS datasources like Excel and Access that don't have free/open-source pure JDBC drivers. Why would you use the JDBC-ODBC bridge to connect to an Oracle database?
    -- Brian

  • SQL Server 2005 with an ODBC-JDBC Bridge

    Hello,
    I use an ODBC - JDBC Bridge (because when I use SQL Server 2005 Driver JDBC Version 1.1, the text connection failed). I don't know why I can't reverse my model.
    What happened?
    thanks
    Billie

    We have also a SQL server 2000 instance at the same server. Yesterday I have spoken with the sql server admin and he told me that he has disconnect the sql server 2000 databases whatever this means. :-D
    Now all works fine. Thank you for your help
    BTW I use the following connection string:
    jdbc:sqlserver://my_db_server;instanceName=my_instance_name;DatabaseName=my_db_name

  • JDBC-BRidge driver exception(for sybase database)

    i am using the weblogic 6.1 along with sybase anyware 6.0.
    I am using the weblogic pool for database connection.
    I am making the use of jdbc bridge driver for connecting to the database.
    I am geeting the datasource look up properly.
    But i am getting the following errors sometime:
    1) too many connections to the database.
    2)authentication violation.
    can you help what can be the reason?

    "Jignesh" <[email protected]> wrote in message
    news:3bfbc796$[email protected]..
    i am using the weblogic 6.1 along with sybase anyware 6.0.
    I am using the weblogic pool for database connection.
    I am making the use of jdbc bridge driver for connecting to the database.
    I am geeting the datasource look up properly.
    But i am getting the following errors sometime:
    1) too many connections to the database.I think this problem is connected with setting of SQLAnywhere ODBC driver.
    2)authentication violation.Create a small standalone java program that
    successfuly connects to the server and use those
    settings to setup the connection pool.
    Just FYI, JDBC-ODBC driver is unsupported,
    and not thread-safe. You will likely not be able
    to use it in production. I'd try to switch to a
    fat Sybase server and corresponding JDBC driver.
    Regards,
    Slava Imeshev

  • Oracle Cloud connections by other databases via ODBC/JDBC/XML

    If we move to the Oracle Cloud, will these tables be available from other SQL clients via ODBC/JDBC/XML? It obviously works fine with an internally hosted Oracle solution, but I didn't know if moving the Oracle Cloud would remove these features. Thanks.

    You need a service to auto start/stop instances. Pls See
    Re: Oracle instance is going to idle when i restart/start the machineRgds,
    Ahmer

  • Regarding ODBC/JDBC driver

    Hi
    To connect SAP BO Tools with HANA, document says ODBC/JDBC thru SQL is required.
    What does it mean.. Does connectivity need both or we can use any one of them?
    Anybody know when to use which one?.
    To my understanding, i feel either one of them can be used...but when it has to be used?
    No document explains on this.. pls share if any document.
    Regards
    Magalingam

    Hi,
    To Connect BO Tools to HANA,using jdbc driver is recommended.ODBC will be used by the Tools like Analysis for Office and Excel in somecases(through MS SQL Query option).
    You can create a relational connection using the jdbc driver in IDT and can publish to BOE CMC which can be used for the creation of Universe so that BO Tools like Dashboard,Crystal Reports,WebI and Explorer can consume HANA data through this JDBC Connection.
    Hope this helps you.
    Rgds,
    Murali

  • How can Form6i connect to other DB connection like ODBC,JDBC

    Hi,
    Can anyone tell me that how can Form6i connect to other DB connection like ODBC,JDBC
    If anyone knows, please tell me immediately. I am in very urgently situation!!!
    So if anyone knows, Please! Please! tell me.
    Thanks in advance,
    Oil

    Hi,
    Ypu can connect using OCA (Open Cliente Adapter).

  • Jdbc-bridge-sql server 2000

    Hi all,
    I have been developed a web application for bank reporting purpose,
    here are some java classes, and all the DB connections ceated and controlled in these classes,
    in my project, I am using bridge method for connecting to DB, the syntax of connection code is below:
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    Properties props = new Properties();
    props.put("DatabaseName","CreditCard");
    //props.put("characterEncoding", "UTF-8");
    //props.put("useUnicode", "true");
    props.put("user", "sa");
    props.put("password", "");
    con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433", props);
    when in the url I use "localhost", the program works properly, but when I change the ip to other computer, I receive this error:
    [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
    Note that I have access to this computer, I can ping it and ...
    please help me dear workmates...
    Best,
    Robin

    "I am using bridge method for connecting to DB" - when you say "bridge", it makes me think of the JDBC-ODBC bridge driver.
    But the class name you're using is the M$ SQL Server JDBC driver. Your language confuses me a little.
    When I connect to SQL server, I give it the name of the database, too. You don't. Maybe you should. Mine would look like this:
    String url = "jdbc:microsoft:sqlserver://host:1433/database;selectmethod=cursor";
    Connection connection = DriverManager.getConnection(url, username, password);Can you telnet ip-address 1433 successfully? You're sure that the listener is up and running?
    I'd put another property into those props: "selectmethod=cursor", or do it as I suggested above. - MOD

  • ODBC connection to CODA via  Easysoft ODBC drover

    I need to run a SQL statement on an Oracle 8i server which access data via an ODBC driver. The ODBC driver is the Easysoft driver for CODA ( a financial package. This works quite well using MS Access but I need to do the same on oracle.
    Any help appreciated
    David Chandler

    Have you set up Heterogenous Services yet? If so, what sort of error are you seeing?
    Justin

  • New to JAVA - ODBC/JDBC - clarification

    Hi,
    I am using Window XP. I am in my initial stages of learning JAVA.
    I am using one of the books to learn the language. I wrote to the following code to interact with the database - "websites.mdb" which is in a different location than java.
    import java.sql.*;
    public class MakeTheConnection
    public static void main (String[] args)
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String sourceURL = new String ("jdbc:odbc:websites");
    Connection DatabaseConnection = DriverManager.getConnection(sourceURL);
    catch (ClassNotFoundException cnfe)
    System.out.println(cnfe);
    catch (SQLException sqle)
    System.out.println(sqle);
    When I run the above code I am geting the following error:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    I also tried creating a DSN which I tried using it here in the sourceURL but still in vain, i got the same error. I would really appreciate if somebody could help me in providing pointer or information regarding to solve this problem and be able to interact with databases. I use MS access.
    Thanks in advance.
    PK

    Hi,
    I created the file DSN through Control panel - > ODBC called "Test" and I used that in the following manner:
    try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String sourceURL = new String ("jdbc:odbc:Test");
              Connection DatabaseConnection = DriverManager.getConnection(sourceURL);
    I hope that is right. I am trying to execute using these code. I am getting the following error, I am not sure where the problem is.
    C:\jdk1.5.0\bin>java MakeTheConnection
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    Please do let me know.
    Regards,
    PK

  • Access replicated DB environment via SQL/sqlite/ODBC/JDBC interfaces

    I'm wondering whether replicated DB environments can be also accessd via the SQL (sqlite, ODBC and JDBC) interfaces?
    How to deal with the DB_ENV->rep...() methods in this case?
    Is it actually necessary to share my DB_ENV poiner (which I setup for replication using the rep...() APIs as needed) somehow with the sqlite lib in order that DB operations issued via the sqlite interfaces are replicated too?
    Or can the sqlite lib still partitipate in replication even if it uses its own private DB_ENV instance (which is not initialized in a special way for replication with the rep...() APIs)?

    In the recently released Berkeley DB 11.2.5.1, we offer a new command line utility called db_replicate. It is run in its own process and adds replication capabilities to an existing Transactional Data Store (TDS) application. The existing TDS application can be an application implemented with the BDB SQL API.
    The db_replicate utility's process performs all replication functions. Therefore, you don't need to make the DB_ENV->rep* calls elsewhere in your application or worry about sharing an environment handle. db_replicate will replicate the results of the BDB SQL API operations that your application performs in its own processes. If you are interested in learning more about db_replicate, you can read the new section "Running Replication using the db_replicate Utility" in the Replication chapter of the Reference Guide.
    In our prior release 11.2.5.0, we did not yet offer any support for the use of replication with an application using the BDB SQL API.
    Paula Bingham
    Oracle

  • ODBC - JDBC - Clarification

    Hi,
    I am using Window XP. I am in my initial stages of learning JAVA.
    I am using one of the books to learn the language. I wrote to the following code to interact with the database - "websites.mdb" which is in a different location than java.
    import java.sql.*;
    public class MakeTheConnection
         public static void main (String[] args)
         try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String sourceURL = new String ("jdbc:odbc:websites");
              Connection DatabaseConnection = DriverManager.getConnection(sourceURL);
         catch (ClassNotFoundException cnfe)
              System.out.println(cnfe);
         catch (SQLException sqle)
              System.out.println(sqle);
    When I run the above code I am geting the following error:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    I also tried creating a DSN which I tried using it here in the sourceURL but still in vain, i got the same error. I would really appreciate if somebody could help me in providing pointer or information regarding to solve this problem and be able to interact with databases. I use MS access.
    Thanks in advance.
    PK

    The use of a DSN is corrrect. You have to create User or System-DSN with name "websites" (as stated in your JDBC sourceURL) and that DSN connects to the MDB database you're trying to access. Then your program should just work fine.
    For the DSN you have to use the MS-Access driver (afaik language is not important). Then your program should just work fine.

  • ODBC JDBC?

    Hello,
    I'm an IT auditor, I'm 'okay' at writing various Java programs, however here is what I would like to do.
    Write a Java Program that would allow me to query various tables within, SQL Server/ ORACLE/ DB2....
    The program would prompt you for a user name password / ip address of the machine make the DB connection and then allow you to query the security tables within.
    Anyhow, I don' t mind purchasing a driver or using an open source driver, however I need something that will ensure that the servers that house the tables don't need anything installed, such as special java related hoopla..
    Do servers need Java to be queried with JDBC?
    Can you use ODBC from the client within Java Code?
    What are your recommendations.

    We actually have a ton of query's in Access, However,
    we would like some versatility with the reports we
    run. USER friendly GUI which access is ruff for
    Noobies. Ideally it would be nice to have Swing GUI
    where it basically says:
    Which RDBMS
    dbd
    oracle
    SQlserver 2000
    Sql server 7......
    SELECT
    Then enter in a Power account ie SA
    Then Run the Library of Queries, Flaging certain
    results for our attention..
    Yada yada. you get the idea.
    Not really.
    Either you have some canned reports or you don't.
    If you have canned reports then you build them and the users use them.
    If your users are actually building reports themselves then building your own tool to do what MS Access/Crystal Reports already does is more likely to produce something that is harder to use and buggier than either of those. If the users need the power then then they have to learn how to use it. If they don't need the power then use an existing tool to build what they do need.

  • JApplet JDBC Bridge on jsp?

    Using the JSP JDBC as the JApplet JDBC, is this possible?
    I was planning to use the .jsp JDBC to the JDBC of the JApplet inside that .jsp.
    Or in other terms, could I run the JApplet on as a server instead of the client?
    I want to run the JApplet JDBC, but I couldn't because the JApplet runs as a client.
    Thanks,
    Cyril H.

    You can have make a servlet that's on the same server where the applet is coming from and then have the applet connect back to that server to ask the serverside to perform database access.

Maybe you are looking for

  • Problem removing SAP java system

    Hi everyone, I've been trying to remove a SAP java system using the uninstall program and have been encountering a problem with the following log: WARNING 2006-05-09 17:26:24 Error 1053 (The service did not respond to the start or control request in

  • Motion 5 and compressor 4 with FCP ?

    Hi, Is it possible to use motion 5 and copressor 4 with FCP 7 ? Thanks Ivan

  • Where are superscripts in Mac Mail?

    How can you EASILY use superscripts and subscripts in Mac Mail?  I know these are found in TextEdit, but there should be an easy way to incorporate them into Special Characters in the Mac Mail application.

  • Unable to connect to app store after upgrading to ios5.1??

    Have tried everything restoring, resetting, formatting!!! Rest all network related apps like safari and fb are doing fine.Only the featured page is opening in app store.top 25 n search are not!! I can connect using mobile data connections but am unab

  • Cursor Size!!!!!!!!!!!!!!make It Big

    I have created an accounting package using Forms 6i and oracle 8i,When I implemented this project on windows2000 operating system all my users shouted at me,saying that, where is the cursor ,actually they were not able to see the current cursor item