i have a question about https://rules.sonarsource.com/java/RSPEC-2229/. This rule is for Spring but i would know if this rule apply within Quarkus too?
I have a public method without transaction annotation who calls in the same class another method public but whith transactional annotation.
Is this last invoked into a transactional boundories or not?
Why is it allerts as bugs?
What is the outcome of not applying it?
Sorry but i’m some confuse beacuase i think the rule is not well detailed..
Thanks
example code:
public void doTheThing() {
// ...
actuallyDoTheThing(); // call from non-transactional to transactional
}
@Transactional
public void actuallyDoTheThing() {
// ...
}