Hi, I noticed that Hibernate allows the mapping when a table column name is first_name, and the field on the entity class is firstName without having to map the column name as @Column( name = “first_name”). I am able to insert into the database like this, why is this? Thanks.
Hibernate has something called a naming strategy which will determine a column name by property name if you don’t configure the column name explicitly. Also see Hibernate ORM 5.6.12.Final User Guide
Great, thank you. This helps a lot!!