Skip to content

Instantly share code, notes, and snippets.

@snekse
Last active April 25, 2024 00:59
Show Gist options
  • Select an option

  • Save snekse/b12e6bfb283f269b30caa9159ff56a24 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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