Reputation: 34424
In a spring application what should be the scope of datasource and transaction manager?As per my understanding both should be singleton. Is that correct?
Upvotes: 0
Views: 617
Reputation: 1642
Absolutely. Those aren't the kinds of objects that should have more than one floating around.
Upvotes: 4