Class JpaUserSessionMapStorage
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaUserSessionEntity,MapUserSessionEntity,UserSessionModel>
org.keycloak.models.map.storage.jpa.userSession.JpaUserSessionMapStorage
- All Implemented Interfaces:
MapStorage<MapUserSessionEntity,
UserSessionModel>
public class JpaUserSessionMapStorage
extends JpaMapStorage<JpaUserSessionEntity,MapUserSessionEntity,UserSessionModel>
-
Field Summary
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
Constructor Summary
ConstructorDescriptionJpaUserSessionMapStorage
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaModelCriteriaBuilder
protected MapUserSessionEntity
mapToEntityDelegate
(JpaUserSessionEntity original) protected jakarta.persistence.criteria.Selection<? extends JpaUserSessionEntity>
selectCbConstruct
(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserSessionEntity> root) protected void
setEntityVersion
(JpaRootEntity entity) Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
clearQueryCache, create, delete, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCache
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.storage.MapStorage
exists, exists
-
Constructor Details
-
JpaUserSessionMapStorage
-
-
Method Details
-
selectCbConstruct
protected jakarta.persistence.criteria.Selection<? extends JpaUserSessionEntity> selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserSessionEntity> root) - Specified by:
selectCbConstruct
in classJpaMapStorage<JpaUserSessionEntity,
MapUserSessionEntity, UserSessionModel>
-
setEntityVersion
- Specified by:
setEntityVersion
in classJpaMapStorage<JpaUserSessionEntity,
MapUserSessionEntity, UserSessionModel>
-
createJpaModelCriteriaBuilder
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapStorage<JpaUserSessionEntity,
MapUserSessionEntity, UserSessionModel>
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegate
in classJpaMapStorage<JpaUserSessionEntity,
MapUserSessionEntity, UserSessionModel>
-