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
ConstructorsConstructorDescriptionJpaUserSessionMapStorage(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaModelCriteriaBuilderprotected MapUserSessionEntitymapToEntityDelegate(JpaUserSessionEntity original) protected jakarta.persistence.criteria.Selection<? extends JpaUserSessionEntity>selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserSessionEntity> root) protected voidsetEntityVersion(JpaRootEntity entity) Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
clearQueryCache, create, delete, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
selectCbConstructin classJpaMapStorage<JpaUserSessionEntity,MapUserSessionEntity, UserSessionModel>
-
setEntityVersion
- Specified by:
setEntityVersionin classJpaMapStorage<JpaUserSessionEntity,MapUserSessionEntity, UserSessionModel>
-
createJpaModelCriteriaBuilder
- Specified by:
createJpaModelCriteriaBuilderin classJpaMapStorage<JpaUserSessionEntity,MapUserSessionEntity, UserSessionModel>
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegatein classJpaMapStorage<JpaUserSessionEntity,MapUserSessionEntity, UserSessionModel>
-