Skip to content

Commit

Permalink
[JBPM-10187] Adding traces for process instance info
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado committed Aug 17, 2023
1 parent 9313582 commit 9c720e3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@
import org.jbpm.process.instance.ProcessInstance;
import org.jbpm.process.instance.ProcessInstanceManager;
import org.kie.internal.process.CorrelationKey;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class JpaProcessPersistenceContext extends JpaPersistenceContext
implements
ProcessPersistenceContext {


public JpaProcessPersistenceContext(EntityManager em, TransactionManager txm) {
super( em, txm );
Expand All @@ -66,6 +69,7 @@ public PersistentProcessInstance findProcessInstanceInfo(Long processId) {
if( this.pessimisticLocking ) {
return em.find( ProcessInstanceInfo.class, processId, lockMode );
}
logger.trace("Reading process instance info {}, processId");
return em.find( ProcessInstanceInfo.class, processId );
}

Expand Down

0 comments on commit 9c720e3

Please sign in to comment.