Re: What about a DBMS that won't be platform-specific

From: Lee Fesperman (firstsql_at_ix.netcom.com)
Date: 06/06/04

  • Next message: Lee Fesperman: "Re: Select distinct or group by does not work"
    Date: Sun, 06 Jun 2004 02:54:29 GMT
    
    

    R.A.J. wrote:
    >
    > FInally, I think this post will answer my question. I'm thinking of later on
    > down the road converting an Access database I created with a VB interface to
    > one done in Java. I've been searching all over for info, but I've seen
    > nothing in reference to Access. At this time, all I would to know would it
    > be similar to connecting as in VB and would the JDBC bridge work similar to
    > it, would I have to use an IDE other than Visual J++ to create the
    > interface? This would be my first time doing this and the database is being
    > used in the division of a small college I work for. Because of the
    > environment and the amount of data going into it, there isn't a need for a
    > large capacity DBMS.

    Let me answer this in pieces.

    Microsoft provides an ODBC driver for Access. It only can be used on Windows. Therefore,
    it is platform-specific. There is no JDBC driver for Access.

    In Java, you can use databases which provide only ODBC drivers through the JDBC-ODBC
    bridge. Sun includes a JDBC-ODBC bridge with their standard distro, but they warn that
    it is not intended for production use. I'm not sure that matters since I don't think the
    Access is suitable for production use, either ;^) There are some commercially available
    JDBC-ODBC bridges, but I have no experience with them.

    So, you can use JDBC in Java to use Access. You don't need an IDE. Is it similar to VB?
    Using JDBC in Java would be similar to using ODBC in VB ... actually quite easier. If
    you're looking for an interface more high level than that, you may need an IDE or some
    other interface layer on top of JDBC. I don't have any recommendations on that.

    In general, you can create an application using JDBC that can utilize different back-end
    databases. However, there are a number of complications, such as, significant
    differences in SQL syntax. Most pay only lip service to Standard SQL. Solid guidelines
    on surmounting these obstacles are rare to non-existent.

    For other aspects of your questions, I would repeat the suggestions I made previously.

    -- 
    Lee Fesperman, FirstSQL, Inc. (http://www.firstsql.com)
    ==============================================================
    * The Ultimate DBMS is here!
    * FirstSQL/J Object/Relational DBMS  (http://www.firstsql.com)
    

  • Next message: Lee Fesperman: "Re: Select distinct or group by does not work"

    Relevant Pages

    • Stuff the purple heart programmers cook up
      ... C To act like a framework for the JDBC driver developers. ... D To hide the specifics of accessing particular kinds of database ... Topic: Java 2: Survey Author: Chris Mc Devitt ... The JDBC ResultSet is actually an interface java.sql.ResultSet. ...
      (comp.lang.java.programmer)
    • Re: Mixing P/R philosophy with OO (within J2EE).
      ... I have observed the work of literally hundreds of Java developers. ... Treating a database like a mere "persistence storage mechanisms" is on ... JDBC - Never before in history were so many database API's ... Topmind, if you're reading this, isn't this a good example of OOP? ...
      (comp.object)
    • Re: How to modify a MySQL database...
      ... and then update them with Java. ... To learn how to create a MySQL database, ... you will need to learn JDBC. ...
      (comp.lang.java.programmer)
    • Re: Overwriting a Access Database using JDBC
      ... >> I'm not familiar with JDBC, co I can't comment on the Java. ... >> The UPDATE statement will update every row in the database, ... CREATE TABLE foo ...
      (comp.lang.java.programmer)
    • Re: connecting to a database
      ... so I'm attempting to code it up in java. ... I have no idea how to set up a connection. ... connection to an Access Database that they would be willing to post. ... sql. ...
      (comp.lang.java.programmer)