Relative Content

Tag Archive for javajava-17hibernate-5.xspring5

Lock java threads around DAO read and with unique create

So there is some table that can only have unique values. I want to read or create new value. I though this would be fairly simple, but for some reason synchronized is not working for me… Maybe it’s just the hot summer day and I’m missing something simple 😉