Package org.keycloak.connections.jpa
Class JpaKeycloakTransaction
java.lang.Object
org.keycloak.connections.jpa.JpaKeycloakTransaction
- All Implemented Interfaces:
KeycloakTransaction
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Details
-
em
protected jakarta.persistence.EntityManager em
-
-
Constructor Details
-
JpaKeycloakTransaction
public JpaKeycloakTransaction(jakarta.persistence.EntityManager em)
-
-
Method Details
-
begin
public void begin()- Specified by:
begin
in interfaceKeycloakTransaction
-
commit
public void commit()- Specified by:
commit
in interfaceKeycloakTransaction
-
rollback
public void rollback()- Specified by:
rollback
in interfaceKeycloakTransaction
-
setRollbackOnly
public void setRollbackOnly()- Specified by:
setRollbackOnly
in interfaceKeycloakTransaction
-
getRollbackOnly
public boolean getRollbackOnly()- Specified by:
getRollbackOnly
in interfaceKeycloakTransaction
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceKeycloakTransaction
-