I have an entity class as follows:
@Entity(name = "companyCode")
@Table(name = "companyCode")
public class CompanyCode {
@Id
@Column(name = "companyCode")
String cCode;
}
Instead of creating the table name as companyCode in sql it creates the table as "company_code". The column name is also created as "company_code".
Is there any way to create the table and column using camelCase instead of snake case?
Java Version: 11
Spring Boot version: 2.7.0
Spring Data JPA Version: Latest