Originally I used ojdbc for MS access DB.
But as you know, nowdays, we have to change oracle JDK to open JDK.
So I changed Java 1.7 to zulu openJDK 8.
And then I can't use ojdbc anymore.
I searched solution and found UCanAccess.
First of all, I added dependency UCanAccess to maven.
Then I got ucanaccess-4.0.4.jar, hsqldb-2.3.1.jar, jackcess-2.1.11.jar.
jdbcTemplate.execute("ALTER TABLE NC_OPTION ADD COLUMN admin_access_ips MEMO NOT NULL DEFAULT ''");
'jdbcTemplate ' is org.springframework.jdbc.core.JdbcTemplate.
When I run mybatis 's (mapper.xml) insert or update, these messages are appeared too.
Why the table is setted 'read-only' ?
How can I remove read-only property?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally I used ojdbc for MS access DB.
But as you know, nowdays, we have to change oracle JDK to open JDK.
So I changed Java 1.7 to zulu openJDK 8.
And then I can't use ojdbc anymore.
I searched solution and found UCanAccess.
First of all, I added dependency UCanAccess to maven.
Then I got ucanaccess-4.0.4.jar, hsqldb-2.3.1.jar, jackcess-2.1.11.jar.
Second, I updated applicationContext.xml
Finally I ran tomcat service.
But It didn't work correctly, and the following errors appeared.
This is the code of where the error occurred.
jdbcTemplate.execute("ALTER TABLE NC_OPTION ADD COLUMN admin_access_ips MEMO NOT NULL DEFAULT ''");
'jdbcTemplate ' is org.springframework.jdbc.core.JdbcTemplate.
When I run mybatis 's (mapper.xml) insert or update, these messages are appeared too.
Why the table is setted 'read-only' ?
How can I remove read-only property?
Is the .mdb file in Access_97 format?