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