java.sql.SQLException: No data found
import java.sql.*;
public class Test
{
public static void main(String[] args)
{
// change this to whatever your DSN is
String DSN = "proj-1";
String database = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};proj-1.mdb";
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection(database,"","" );
}
catch (Exception err) {
System.out.println( "Error: " + err );
}
}
}
I am trying to access MS Acces from Bluej using ODBC data source. I get the error ' No data found'.

