Read-only transactions

Report a typo

Choose the missing annotation to make the following service able to perform just read-only operations.

//annotation missed
public class PersonService {

    private final PersonRepository repository;

    @Autowired
    public PersonService(PersonRepository repository) {
        this.repository = repository;
    }
    
    //some methods...
}
Select one option from the list
___

Create a free account to access the full topic