Table Naming Being Ignored

Since Spring 5, Naming using @Table(name=“XxxXxxXxx”) will get you something like xxx_xxx_xxx for table name instead of the name you typed. To fix it, add

spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

in your application.properties files