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 TypeMethodDescriptionint
Version of the JPA entity used for optimistic lockingMethods 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
-
Method Details
-
getVersion
int getVersion()Version of the JPA entity used for optimistic locking
-