In order to use sequence generator, we must read this article before:
https://ntsim.uk/posts/how-to-use-hibernate-identifier-sequence-generators-properly