Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8961

Regression: please expose Configuration object in Hibernate 4 LocalSessionFactoryBean

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.1 GA
    • Fix Version/s: 3.1.1
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Please expose Hibernate's org.hibernate.cfg.Configuration object in the newly added org.springframework.orm.hibernate4.LocalSessionFactoryBean class.

      Previous version org.springframework.orm.hibernate3.LocalSessionFactoryBean clearly does it through its #getConfiguration method. Today LocalSessionFactoryBuilder (i.e. Spring's extension of Hibernate's Configuration class) is only a local variable in the #afterPropertiesSet method.

      This is actually a very important piece of functionality for us.

      Thank you!

        Attachments

          Activity

            People

            • Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              kyrill007 Kyrill Alyoshin
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 15 weeks, 2 days ago