HHH-17474 Change org.hibernate.cache.internal.NaturalIdCacheKey constructor scope
This commit is contained in:
parent
d25fb203a1
commit
153d134db3
|
@ -30,7 +30,8 @@ public class NaturalIdCacheKey implements Serializable {
|
|||
private final String tenantId;
|
||||
private final int hashCode;
|
||||
|
||||
private NaturalIdCacheKey(Object naturalIdValues, String entityName, String tenantId, int hashCode) {
|
||||
// The constructor needs to be public because it is used by WildFly NaturalIdCacheKeyMarshaller#readFrom(ProtoStreamReader)
|
||||
public NaturalIdCacheKey(Object naturalIdValues, String entityName, String tenantId, int hashCode) {
|
||||
this.naturalIdValues = naturalIdValues;
|
||||
this.entityName = entityName;
|
||||
this.tenantId = tenantId;
|
||||
|
|
Loading…
Reference in New Issue