title: Hibernate @Column annotation cannot mapping to database
body: <p>I have a Entity in Spring Boot and PostgreSql, I'm using @Column annotation to mapping to database. This is my Entity snip code :</p>
  
  <pre><code>@Entity(name = "users")
  @Table(name = "users", schema = "public")
  public class User implements Serializable {
  
      /**
       * 
       */
      private static final long serialVersionUID = 12355345L;
      @Id
      @Column(name = "user_id")
      private String userid;
      @Column(name = "user_name")
      private Integer username;
  </code></pre>
  
  <p>When id run and test with postman, i get an error :</p>
  
  <blockquote>
    <p>org.springframework.dao.InvalidDataAccessResourceUsageException: could
    not extract ResultSet; SQL [n/a]; nested exception is
    org.hibernate.exception.SQLGrammarException: could not extract
    ResultSet</p>
  
  <pre><code> Caused by: org.postgresql.util.PSQLException: ERROR: column users0_.usersid does not exist
    Hint: Perhaps you meant to reference the column "users0_.user_id".
  </code></pre>
  </blockquote>
  
  <p>I don't know why. How to resolve this ?</p>