Before the data are added to make the configuration file again
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyJpaCompliantImpl
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.PhysicalImplicitStrategyStandardImpl
Figure
but then Hibernate5 seemed ineffective, or no way to automatically map the fields underlined hump to the entity class named properties.
, Found the back can do so using the strategies provided by spring
spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
spring.jpa.hibernate.naming.implicit-strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
Meet the demand.
Reproduced in: https: //blog.51cto.com/beetsuan/2410930