Is It possible to change the original overriding the generationType.identity with custom one?
It’s not clear what you are asking. Try to elaborate the question with some examples.
I want to create an Identity column that stores values as string instead of Number. The column must have incremental progressive numbers but in string format. I want modifier identity strategy
@GeneratedValue(strategy = “myStrategy”)
myStrategy is is the change of strategy = GenerationType.IDENTITY
You can extend the Hibernate IdentityGenerator and return a String instead of a Number.
Check out this article for am example of a custom IDENTITY generator.