I'm trying to connect to a .accdb database through a
Java program and I'm getting this error:
Got an exception!
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Here is the code:
Note that I was advised against Java 8 and 64 bit, so I'm using JDK 7 and passing this switch: -D32.
But still no dice.
Additionally, I installed this:
Connector/ODBC 5.3.4
http://dev.mysql.com/downloads/connector/odbc/
But I have nothing specified in
Maven.
I'm not sure exactly where/how to enable the driver and connection.
Please advise.
-- Robert