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