Connect Java and Ms Access Database using UcanAccess!!

Web Tech Talkies · 74K views · 2017 · 6:09

Open on YouTube

Databases & storageSoftware practice, open source & careerstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or citing Java to MS Access connection problems, especially after the old JDBC-ODBC bridge stopped working in newer Java versions.

Recommended by 1 people across 1 different months, 2019 to 2020.

What it is

A short screen-recorded tutorial showing how to connect a Java program to a Microsoft Access database using the UcanAccess JDBC driver. It walks through downloading the required jar files (UcanAccess, HSQLDB, Jackcess, commons-logging, commons-lang), adding them to the project, and writing the connection and query code. Presented by the Web Tech Talkies channel.

What people said

Recommends Anand Kothari · 2019-03 · Stack Overflow · on “unexpected output while using sun.jdbc.odbc.jdbcodbcDriver”

You need to use Java 8 to solve this problem or download some jar files and make a few code changes. Here is the link of a video which will help you completely: [this video]

Cites Encipher · 2019-11 · Stack Overflow · on “Fewer options in System DSN than generally have”

I got some problems while creating Jdbc connection with Microsoft Access. First I go to control panel -> click on the Administrative Tools. Then I got this window which shown in the picture. [LINK] I click on ODBC Data Source(64 bit). Then I got this window [LINK] Now I go to the System DSN tab [LINK] Now I got SQL server. But as per this video link [this video] I should get some more options. Therefore I cannot understand why I couldn't get those options. I need Microsoft Access dBase Driver to generate a MS Access DataBase. My System Configuration is as per this picture below [LINK] I am using MS Office 2019. Can anyone help me to solve the problem?

Cites Markun · 2020-04 · Stack Overflow · on “I cannot bridge a connection between Access (Office365) and java (netbeans)”

I was tasked to use an access database as the method of permanent storage in a Netbeans java project. It was suggested that we use Ucanaccess which I tried, but I was unable to establish a connection. I have tried the following tutorials: [LINK] [LINK] [this video] [LINK] Non of which worked. When I tried to do the control panel connection under ODBC data sources under System DSN, nothing showed up. (I tried both the 32bit and 64bit versions). When I contacted my teacher she told me that connections aren't made in windows anymore, and that we code the "bridge" in java. This is how the System DSN looks when I click add [LINK] Can anyone please explain to me how to do this? This is my current code: