I worked on your HSQL Version 2.3.3 database, and, with regard to the table
annual_cultivation
what I found was “id” between 3151 and 3154 were the error. ( I have no idea why ).
Therefore, I used the HSQL jar utility, sqltool.jar and able to EXPORT the data with “id” <= 3150 and “id” >= 3155.
I next used sqltool.jar in the following steps:
- Deleted your table ( “annual_cultivation” )
- Turned off all referential integrity checks
- Create the table at first, with “id” as an INTEGER ( NOT auto generated )
- Insert(ed) the data I exported above ( to keep the same “id” you had used
- Altered the table “annual_cultivation” to be GENERATED BY DEFAULT AS IDENTITY
- Turned on all referential integrity checks
- Proved I could see all the data in table “annual_cultivation” )
I also:
- Opened your .odb file with the replacement database files
- Tried a few Queries ( I did NOT try forms ) with “annual_cultivation” and they worked
So, see the link I am providing that contains the three files, you can download and RELACE, but, always, KEEP A BACKUP of your original files just in case:
- mydb.data
- mydb.properties
- mydb.script
Download the files from link here:
https://www.mediafire.com/folder/0kvaxy20sqhq2/Documents
I hope this helps, please be sure to let us know.