title: How to map Hibernate entity fields using camelCase to snake_case (underscore) database identifiers
body: <p>I have database fields in underscore. I have entity fields in camelcase. I can't change either of those.</p>
  
  <p>Is there something, maybe a class level annotation I can use to default entity column name annotations to the camelcase equivalent?</p>
  
  <p>for example, I have an entity like this:</p>
  
  <pre><code>@Entity
  public class AuthorisationEntity {
  
      @Column(name = "non_recoverable")
      private BigDecimal nonRecoverable;
  
      @Column(name = "supplier_recoverable")
      private BigDecimal supplierRecoverable;
  
      @Column(name = "refund_amount")
      private BigDecimal refundAmount;
  
  }
  </code></pre>
  
  <p>I dream of this:</p>
  
  <pre><code>@Entity
  @DatabaseIsUnderscoreAndThisAnnotationConvertsThemToCamelCaseByDefault
  public class AuthorisationEntity {
  
      private BigDecimal nonRecoverable;
  
      private BigDecimal supplierRecoverable;
  
      private BigDecimal refundAmount;
  
  }
  </code></pre>