0

my collegues sais i should convert the spring's app-context.xml into java.

For that i need to have the @AnnotationDrivenTx-Annotation i cant find.

Any workaround here?

Regards.

Charles
  • 50,943
  • 13
  • 104
  • 142
Grim
  • 1,938
  • 10
  • 56
  • 123

2 Answers2

0

You could download it as separate jar from a MavenRepository:

<dependency>
    <groupId>org.springframework.javaconfig</groupId>
    <artifactId>spring-javaconfig</artifactId>
    <version>1.0.0.m3</version>
</dependency>

But it´s from 2008 and seems not to be developed anymore. These features can be found in spring-tx component and @EnableTransactionManagement is the way to go as Charles said.