Difference between @target and @within (Spring AOP)
问题 Spring manual says: any join point (method execution only in Spring AOP) where the target object has an @Transactional annotation: @target(org.springframework.transaction.annotation .Transactional) any join point (method execution only in Spring AOP) where the declared type of the target object has an @Transactional annotation: @within(org.springframework.transaction.annotation .Transactional) But I not see any difference between them! I tried to Google it: One difference between the two is