Connect Java to Access (.accdb)

Asked

Viewed 53 times

1

I’m trying to connect a desktop application that uses Java to a server. First I tried to use Acess, but I had problem with drivers, I tried to use Ucanaccess and more problems, anyway, I gave up, I left good old Mysql.

First I had many problems to pass the part of Connection, I always blew exception in "Drivermanager.getConnection()", after much work, I was able to correct.

However, now while trying to insert data, another error turns up:

Erro

  • 2

    Add the code in text form, not in image form, this will hinder anyone who helps you test and analyze the code. Read more on Manual on how NOT to ask questions

  • Also add the error that occurs.

  • "... another error ends up appearing" - what mistake?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.