The fix will not be enabled by default to avoid making a breaking change in the generated foreign key column name in the join table.
The fix can be enabled as follows: * when using Entity Manager, set the property: hibernate.ejb.naming_strategy_delegator=org.hibernate.cfg.naming.ImprovedNamingStrategyDelegator; * when not using Entity Manager, call Configuration.setNamingStrategyDelegator(ImprovedNamingStrategyDelegator.DEFAULT_INSTANCE).
|