Please help me

From: Duzy (freeride_at_tenbit.pl)
Date: 04/28/04


Date: Wed, 28 Apr 2004 01:56:43 +0200

Hi,
in this code:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String url = "jdbc:odbc:mydb";
Connection con = DriverManager.getConnection(url);

what is this "mydb"? I want to make a connection with my database made in Ms
Access 2000, but I don't know how... how can I connect to my database
jdbc:odbc bridge?

-- 
Duzy


Relevant Pages

  • Re: SQLExpress
    ... Connection con = DriverManager.getConnection( ... System.err.println("Got an exception! ... Is /K0322608 the nameof the host where the SQL database lives? ...
    (comp.lang.java.databases)
  • Re: Password Protected .MDB File
    ... GjoreNET wrote: ... String database = "jdbc:odbc:Driver={Microsoft Access Driver ... Connection con = DriverManager.getConnection; ...
    (comp.lang.java.databases)
  • Database + Java ?
    ... Where do i place a database file so it can be linked with my applet. ... Connection con; ... Should I use any installer program? ...
    (comp.lang.java.help)
  • Re: JDBC and Open Office..
    ... Connection con = DriverManager.getConnection(url, ... the driver to use. ... The problem is that the OOo file is not the database as expected by HSQL. ... The OOo file is actually a ZIP file that contains the HSQL database. ...
    (comp.lang.java.databases)
  • Re: JDBC and Open Office..
    ... Connection con = DriverManager.getConnection(url, ... the driver to use. ... The problem is that the OOo file is not the database as expected by HSQL. ... The OOo file is actually a ZIP file that contains the HSQL database. ...
    (comp.lang.java.databases)