| Having @DiscriminatorColumn (for example to explicitly set the column name) causes the following warning:
HHH000457: Joined inheritance hierarchy [com.example.Foo] defined explicit @DiscriminatorColumn. Legacy Hibernate behavior was to ignore the @DiscriminatorColumn. However, as part of issue HHH-6911 Closed we now apply the explicit @DiscriminatorColumn. If you would prefer the legacy behavior, enable the `hibernate.discriminator.ignore_explicit_for_joined` setting (hibernate.discriminator.ignore_explicit_for_joined=true)
As the log says, having the property set to true does remove the warning, but what if I need the new behavior? Having the property set to false still prints the warning. I expect it to print the warning only in case of absence of the property. In other words, it should not print the warning if the property is defined regardless of the value. |