Skip to content

Test *SessionFactoryBean compatibility with earlier versions of Spring [SPR-8112] #12766

Closed

Description

@spring-projects-issues

Chris Beams opened SPR-8112 and commented

#12721 heavily refactored the *SessionFactoryBean hierarchy. Test application developed against < Spring 3.1 that extensively configures LocalSessionFactoryBean and/or AnnotationSessionFactoryBean and ensure that the upgrade to Spring 3.1 is smooth.

Note that backward compat with convertHibernateAccessException is broken (now handled by setPersistenceExceptionTranslator)

All other methods should be OK, such as newConfiguration(), etc. They're all deprecated in LSFBean and ASFBean.

See #12767 which suggests running a CLIRR report against 3.1 to check backward-compat


This issue is a sub-task of #12076

Activity

  1. spring-projects-issues commented on Oct 11, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Chris Beams commented

    No longer valid given that changes to .orm.hibernate3 *SessionFactoryBean classes were backed out in favor of the new .orm.hibernate4 package that contains similar changes (but that by design do not need to be backward-compatible with earlier Hibernate versions)

  2. added
    status: invalid
    in: core
    type: task
    and removed
    type: task
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: corestatus: invalid

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions