mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#869 - Clash on bind hash value for query cache with consecutive values of "01","20" and "02", "10"
This commit is contained in:
@@ -119,9 +119,9 @@ class InExpression extends AbstractExpression {
|
||||
|
||||
@Override
|
||||
public int queryBindHash() {
|
||||
int hc = 31;
|
||||
int hc = 92821;
|
||||
for (int i = 0; i < bindValues.length; i++) {
|
||||
hc = 31 * hc + bindValues[i].hashCode();
|
||||
hc = 92821 * hc + bindValues[i].hashCode();
|
||||
}
|
||||
return hc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user