title: How to map entity to table in Spring Data JDBC?
body: <p>In Spring Data JPA we can map an entity to a specific table by using <code>@Table</code> annotation where we can specify schema and name.</p>
  
  <p>But Spring Data JDBC uses a <code>NamingStrategy</code> to map an entity to a table name by converting the entities class name. For example, if we have the entity class named <code>MetricValue</code> then the table should be named <code>metricvalue</code> in default schema. But I need to map <code>MetricValue</code> to the <code>metric_value</code> table in <code>app</code> schema.</p>
  
  <p>Is there any way to override this mapping by annotation or any other?</p>