In my code when I delete a row for a certain object, that does not happen immediately. In this particular case the row being deleted has a reference in another table, and given the fact that there is a foreign key, that results in an error, and an exception should be thrown. However, that does not happen when it's supposed to be deleted (calling deleteById() in the repository). The exception is thrown when I'm updating another row, so it seems like it for some reason was put in queue.
Anyone who knows what exactly is going on here?