Angsuman's Java Blog

News and views from my perspective as a Chief Software Architect and CEO. Focused on Java and Web Technologies.


Saturday, August 31, 2002

What's this site all about? A site where I provide tips, sometimes rave and very few times rant. Like it ok, don't ok.

You can get my services through Taragana.com.

Do you know how to access MS Access DB from Java?

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String filename = args[0].replace('\\', '/');
String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
database += filename.trim() + ";DriverID=22;READONLY=true}";
Connection con = DriverManager.getConnection(database, "", "");

I am back!
Life has been very hectic for me and still is. Here's a thought for the day: Arise awake and stop not till the goal is achieved - Swami Vivekananda