parent
2762e17dc0
commit
b68a5be38d
1 changed files with 10 additions and 1 deletions
|
@ -145,7 +145,16 @@ public class ResourceEntity {
|
|||
}
|
||||
|
||||
public void setUris(Set<String> uris) {
|
||||
this.uris = uris;
|
||||
// Workaround to avoid a problem in Hibernate 6.2.CR3: https://hibernate.atlassian.net/browse/HHH-16337
|
||||
// Tracked via GitHub issue: https://github.com/keycloak/keycloak/issues/19162
|
||||
if (this.uris != null) {
|
||||
this.uris.clear();
|
||||
if (uris != null) {
|
||||
this.uris.addAll(uris);
|
||||
}
|
||||
} else {
|
||||
this.uris = uris;
|
||||
}
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
|
|
Loading…
Reference in a new issue