Skip to content

Instantly share code, notes, and snippets.

@snekse
Last active May 6, 2022 00:59
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save snekse/b12e6bfb283f269b30caa9159ff56a24 to your computer and use it in GitHub Desktop.
Save snekse/b12e6bfb283f269b30caa9159ff56a24 to your computer and use it in GitHub Desktop.
Hibernate + Spring Boot ignoring @column(name="camelCase")
# In Hibernate 5+ a change was made that requires an alternative naming strategy
# otherwise the name attribute on the Column annotation is ignored
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
@heyimpg
Copy link

heyimpg commented Mar 3, 2022

thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment