Add TableGenerator to generate id for MetricDetails entity