turn on cache
This commit is contained in:
parent
e99a675c50
commit
e37b5613ed
2 changed files with 3 additions and 2 deletions
|
@ -683,7 +683,8 @@ public class RealmAdapter implements RealmModel {
|
|||
entity.setSocialProvider(socialLink.getSocialProvider());
|
||||
entity.setSocialUserId(socialLink.getSocialUserId());
|
||||
entity.setSocialUsername(socialLink.getSocialUsername());
|
||||
entity.setUser(((UserAdapter) user).getUser());
|
||||
UserEntity userEntity = em.getReference(UserEntity.class, user.getId());
|
||||
entity.setUser(userEntity);
|
||||
em.persist(entity);
|
||||
em.flush();
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
},
|
||||
|
||||
"modelCache": {
|
||||
"provider": "${keycloak.model.cache.provider:}"
|
||||
"provider": "${keycloak.model.cache.provider:simple}"
|
||||
},
|
||||
|
||||
"timer": {
|
||||
|
|
Loading…
Reference in a new issue