Hello,
Just had another thought. It seems your toggling through records is on a form. It may be you have set the form (internal form) property of Add data only
to Yes
(on Data
tab of internal form properties). This allows cycling of newly added records until re-opened. Then they are no longer new.
If you examine the data in the table view, the records should be there.
Edit 2020-11-26:
Have tried your attached sample. Have no problem. Can add records, close & re-open and records are still there. I am using LO v7.0.3.1 from TDF (The Document Foundation) on Ubuntu 20.04 Mate.
You may want to try resetting you user profile → LibreOffice user profile
Also, please provide the version of Java being used. My Understanding is that JDK12 works for your OS.
Edit #2 on 2020-11-26:
Did find potential problem. It is with embedded images. Will post more information later.
Now it’s later → It is best not to embed images in a database. Linking to an external image will be faster and not bloat a database. HSQLDB has a problem with large amounts of data and will cause a loss in many cases as you have experienced. Using Firebird embedded will improve the chances of not losing data but has a different problem. With the embedded version, the file will not reduce in size even if you delete information. It will re-use the emptied space but to reduce the size you must remove the DB, restore it (it is a backup file), return it to a backup file & return it to the Base file.
For a quick look into linking images, see this post → How to insert a link to an odb database to display an image