title: java.sql.SQLSyntaxErrorException: Unknown column 'column_name' in 'field list' - mappings in entity are the same in as database
body: <p>I receive the error as in the title for column "accepted_at",however i cannot see where i am making a mistake because i checked the names of the columns and the entities seem to be anotated properly.Lombok is used so don't wonder why there are no setter and getters</p>
  
  <pre><code>@Id
  @GeneratedValue
  private Long id;
  private Long version;
  
  @Column(name = "accepted_at")
  private Date acceptedAt;
  
  @ManyToOne(fetch = FetchType.LAZY)
  @JoinColumn(name = "accepted_by_id")
  private Account acceptedBy;
  
  @ManyToOne(fetch = FetchType.LAZY)
  @JoinColumn(name = "account_id")
  private Account account;
  
  @ManyToOne(fetch = FetchType.LAZY)
  @JoinColumn(name = "token_id")
  private Token token;
  
  @Column(name = "date_created")
  private Date dateCreated;
  
  @Column(name = "is_accepted")
  private Boolean isAccepted;
  
  @Column(name = "is_enabled")
  private Boolean isEnabled;
  
  @Column(name = "last_updated")
  private Date lastUpdated;
  
  @Column(name = "organization_id")
  private String organizationId;
  
  @Column(name = "pending_status")
  private int pendingStatus;
  
  @Column(name = "pending_status_date")
  private Date pendingStatusDate;
  
  @Column(name = "profile_type")
  private int profileType;
  
  @Column(name = "valid_from")
  private Date validFrom;
  
  @Column(name = "valid_to")
  private Date validTo;
  </code></pre>
  
  <p>Here is how i create the table for profile via a script.</p>
  
  <pre><code>create table profile
  (
  id                   bigint(20) not null auto_increment,
  version              bigint(20) not null,
  accepted_at          datetime,
  accepted_by_id       bigint(20),
  account_id           bigint(20) not null,
  token_id             bigint(20),
  date_created         datetime,
  is_accepted          bit(1) not null,
  is_enabled           bit(1) not null,
  last_updated         datetime,
  organization_id      national varchar(10) not null,
  pending_status       int(11),
  pending_status_date  datetime,
  profile_type         int(11) not null,
  valid_from           datetime,
  valid_to             datetime,
  primary key (id),
  key organization_id (organization_id)
  );
  </code></pre>
  
  <p>I am using application.yml instead of application.properites. I hope this is usefull somehow</p>
  
  <pre><code> spring:
    datasource:
     url: jdbc:mysql://localhost/*****?serverTimezone=GMT
     username: root
     password: ******
    jpa:
     open-in-view: false
   flyway:
    enabled: true
   thymeleaf:
    suffix: .html
    cache: false
  </code></pre>