When writing unit/integration tests and they fail, consider possibility the test is wrong.
Yesterday I spent two hours researching UUID mappings in H2 and PostgreSQL and trying various combinations of annotations just to find out that I accidentally deleted last character of the hardcoded "expected" result.