Suppose I have a Repository class.
@Repository
class MyRepository {
    @Transactional
    void method1 () {
        // some logic here
    }
    void method2 () {
        // some logic here
        method1();
        // some logic here
    }
}
Is it possible to do that in String? And how this works?
 
     
     
     
     
    