Skip to content

Release notes doesn't mention the new default for 'proxyTargetClass' #6693

Closed

Description

@tadaskay

#5423 sets proxyTargetClass=true as the new default, effectively breaking it down for people using @Transactional on the interfaces. As I have later found out, the suggested way is to use it on the classes (even though in my opinion it makes more sense to be put in the contract = interface).

Do you think this change might be worth mentioning in the release notes so that people upgrading to 1.4 (like myself) might save a few hours of debugging?

Activity

  1. added
    status: waiting-for-triage
    on Aug 19, 2016
  2. snicoll commented on Aug 19, 2016

    @snicoll
    Member

    even though in my opinion it makes more sense to be put in the contract = interface

    I am not sure I agree, though I see what you mean. I am not sure we expected that change to break your project. Note that we're considering flipping that attribute to true by default in Spring 5.

    Ping @philwebb

  3. added
    type: documentation
    and removed
    status: waiting-for-triage
    on Aug 19, 2016
  4. added this to the 1.4.1 milestone on Aug 19, 2016
  5. philwebb commented on Aug 19, 2016

    @philwebb
    Member

    We should definitely add some release notes about this. I think the root cause is SPR-14322 which won't get fixed until Spring 5.

    I'd still like to leave proxyTargetClass=true as the default.

  6. self-assigned this
    on Sep 20, 2016
  7. snicoll commented on Sep 20, 2016

    @snicoll
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions