Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1637

Web Flow 2.4.0 broken with Hibernate 3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1
    • Component/s: None
    • Labels:
      None

      Description

      Possibly related to the changes for SWF-1534 using the Spring Web Flow 2.4.0 release with Hibernate 3 I get this in a flow end state:

      java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/Session;
      	at org.springframework.webflow.persistence.HibernateFlowExecutionListener$1.doInTransactionWithoutResult(HibernateFlowExecutionListener.java:163)
      	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      	at org.springframework.webflow.persistence.HibernateFlowExecutionListener.sessionEnding(HibernateFlowExecutionListener.java:161)
      	at org.springframework.webflow.engine.impl.FlowExecutionListeners.fireSessionEnding(FlowExecutionListeners.java:208)
      	at org.springframework.webflow.engine.impl.FlowExecutionImpl.endActiveFlowSession(FlowExecutionImpl.java:400)
      	at org.springframework.webflow.engine.impl.RequestControlContextImpl.endActiveFlowSession(RequestControlContextImpl.java:238)
      	at org.springframework.webflow.engine.EndState.doEnter(EndState.java:103)
      

      Works fine with Hibernate 4.

      Relates to https://jira.grails.org/browse/GPWEBFLOW-93

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              graemerocher Graeme Rocher
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: