Skip to main content
added 109 characters in body
Source Link
Predrag Maric
  • 24.5k
  • 5
  • 57
  • 72

By default, Spring Boot uses org.springframework.boot.orm.jpa.SpringNamingStrategy.

Hibernate NamingStrategy that follows Spring recommended naming conventions.

This naming strategy just takes the field name and deduces a column name based only on that, substituting camel case with underscore. You didn't post the exception, but based on this Hibernate probably queried for datum_id column.

Related issue raised on Spring boot project

By default, Spring Boot uses org.springframework.boot.orm.jpa.SpringNamingStrategy.

Hibernate NamingStrategy that follows Spring recommended naming conventions.

This naming strategy just takes the field name and deduces a column name based only on that, substituting camel case with underscore. You didn't post the exception, but based on this Hibernate probably queried for datum_id column.

By default, Spring Boot uses org.springframework.boot.orm.jpa.SpringNamingStrategy.

Hibernate NamingStrategy that follows Spring recommended naming conventions.

This naming strategy just takes the field name and deduces a column name based only on that, substituting camel case with underscore. You didn't post the exception, but based on this Hibernate probably queried for datum_id column.

Related issue raised on Spring boot project

Source Link
Predrag Maric
  • 24.5k
  • 5
  • 57
  • 72

By default, Spring Boot uses org.springframework.boot.orm.jpa.SpringNamingStrategy.

Hibernate NamingStrategy that follows Spring recommended naming conventions.

This naming strategy just takes the field name and deduces a column name based only on that, substituting camel case with underscore. You didn't post the exception, but based on this Hibernate probably queried for datum_id column.