One of the tables has a column named PERIOD. This is treated by the particular version of HSQLDB bundled with UCanAccess as an SQL keyword, rather than the name of the column and an error is raised when the next token is not what it expects.
You can probably use the latest versions of HSQLDB which avoids this issue, instead of the bundled version (in the /lib directory). Alternatively, change the name of the column in the Access database.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
When trying to open this MS Access file (file too large to share on forum), we're getting the following exception:
Here is the code snippet used to open it:
Seems the issue is from when hsqldb is making a mirror copy of the tables?
Any hints would be very much appreciated. Thanks in advance!
One of the tables has a column named PERIOD. This is treated by the particular version of HSQLDB bundled with UCanAccess as an SQL keyword, rather than the name of the column and an error is raised when the next token is not what it expects.
You can probably use the latest versions of HSQLDB which avoids this issue, instead of the bundled version (in the /lib directory). Alternatively, change the name of the column in the Access database.
Thank you Fred, I didn't treat PERIOD as keyword, next version will fix it for better compatibility.