java - Spring Transactional Management - Where to Place the Annotations? -
If I have a transaction-managed class, in which I have two methods
Zero OuterMethod {transcriptural ("manager"), zero inner method (data amadeata) {// write some things} {this.InnerMethod (somedata)}
Is this valid? I can not take it for writing in the database for some reason, though it does not give me any errors.
Spring does not use bytecode instrumentation to implement AAP. Therefore it can be assumed that if a method of an object calls another method in the same object, the method will not be applied to the call. Spring Although this method calls the Propose Process as true and to apply the aspect on the call. by using. Can use.
The information may be a little late, but in my knowledge it is still accurate although the "expose proxy" is not sure about the flag)
See
Comments
Post a Comment