Interface JpaRootVersionedEntity
-
- All Superinterfaces:
AbstractEntity,JpaRootEntity,Serializable
- All Known Implementing Classes:
JpaAdminEventEntity,JpaAuthenticationSessionEntity,JpaAuthEventEntity,JpaClientEntity,JpaClientScopeEntity,JpaClientSessionEntity,JpaComponentEntity,JpaGroupEntity,JpaPermissionEntity,JpaPolicyEntity,JpaRealmEntity,JpaResourceEntity,JpaResourceServerEntity,JpaRoleEntity,JpaRootAuthenticationSessionEntity,JpaScopeEntity,JpaSingleUseObjectEntity,JpaUserEntity,JpaUserLoginFailureEntity,JpaUserSessionEntity
public interface JpaRootVersionedEntity extends JpaRootEntity
Interface for all root entities which implements optimistic locking.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetVersion()Version of the JPA entity used for optimistic locking-
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
-
Methods inherited from interface org.keycloak.models.map.storage.jpa.JpaRootEntity
getCurrentSchemaVersion, getEntityVersion, setEntityVersion, updateEntityVersion
-
-