Is there a feature available in hibernate to set @Enumeration(String) globally for enum types?
There is no such feature. You can implement this yourself though if you want, by creating a custom MetadataContributor
and change the BasicValue#enumerationStyle
of the respective Property#value
within all the PersistentClass
objects, that you can access through InFlightMetadataCollector#getEntityBindingMap