'How spring open transaction with readonly=true if there is exsiting transaction with readonly=false

How spring open transaction with readonly=true if there is exsiting transaction with readonly=false

    public void second(){...}

@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
    public void first(){
second();
}



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source