diff --git a/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java b/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java index 8cb56164..8c05eb15 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java @@ -53,7 +53,7 @@ import org.springframework.webflow.execution.ViewSelection; *
  • Create a new persistence context when a new flow execution with the 'persistenceContext' attribute starts *
  • Load some objects into this persistence context *
  • Perform edits to those objects over a series of requests into the flow - *
  • On successful flow ccompletion, commit and flush those edits to the database, applying a version check if + *
  • On successful flow completion, commit and flush those edits to the database, applying a version check if * necessary. * * @@ -86,8 +86,9 @@ public class HibernateFlowExecutionListener extends FlowExecutionListenerAdapter private Interceptor entityInterceptor; /** - * Create a new Session-per-Conversation listener using giving Hibernate session factory. + * Create a new Hibernate Flow Execution Listener using giving Hibernate session factory and transaction manager. * @param sessionFactory the session factory to use + * @param transactionManager the transaction manager to drive transactions */ public HibernateFlowExecutionListener(SessionFactory sessionFactory, PlatformTransactionManager transactionManager) { this.sessionFactory = sessionFactory;