Change query metric hash from MD5 of sql + name + loc to Checksum of sql

This commit is contained in:
rbygrave
2021-08-06 11:52:38 +12:00
parent f34e0f5f2b
commit 7ca72a39b1
14 changed files with 36 additions and 108 deletions
@@ -6,7 +6,7 @@ package io.ebean.meta;
public class MetricData {
private String name;
private String hash;
private long hash;
private String loc;
private String sql;
@@ -30,11 +30,11 @@ public class MetricData {
this.name = name;
}
public String getHash() {
public long getHash() {
return hash;
}
public void setHash(String hash) {
public void setHash(long hash) {
this.hash = hash;
}