mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-04 00:09:01 +00:00
Previously, custom Hibernate naming strategies could only be configured via properties. This allowed a fully-qualified classname to be specified, but did not allow a naming strategy instance to be used. This commit updates HibernateJpaConfiguration to use ImplicitNamingStrategy and PhysicalNamingStrategy beans if they exist. If both a bean exists and the equivalent property has been set, the bean wins.