Hi,
I have problems with update to SQLite DB with ORMLite 4.45 from Maven.
I save objects to DB - dao.createIfNotExists(character);
Then I want to update them all in multiple threads.
final ExecutorService executor = Executors.newFixedThreadPool(16);
for (Character character : dao) {
executor.submit(() -> queryAPI(character));
}
which calls dao.createOrUpdate(character);
But nothing is updated with no expection.
Methods: addChar(), getData(), queryAPI(),
Thank you for help.