I have tried to replicate the database + same java environment somewhere else, but the issue doesn't appear. It is only reproduced in 1 environment.