KEYCLOAK-12450 Revert em.clear() call

This commit is contained in:
Hynek Mlnarik 2020-02-28 15:05:00 +01:00 committed by Hynek Mlnařík
parent 7c91e36e43
commit 93f05f9291

View file

@ -120,7 +120,6 @@ public class JpaRealmProvider implements RealmProvider {
RealmModel realm = session.realms().getRealm(id);
if (realm != null) realms.add(realm);
em.flush();
em.clear();
}
return realms;
}