Skip to content

When I use spring-boot to create an object that supports transactions, the object can not be correctly created  #9416

Closed
@lanmolsz

Description

@lanmolsz

https://github.com/lanmolsz/spring-boot-bugs
this github address can reproduce the problem

the FooService object injected into BootApplication is a plain object, not an supports transactions proxy object.

When I commented myValidator method or testInject method,FooService object is correct.

To confirm this bug comes from spring boot , I added BasicApplication class, It is a normal spring application. In BasicApplication , It will correct running.

I’m sorry, my English not so good , I hope you can understand the above words .

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions