Datasource and transaction manager scope in Spring?
In a spring applic开发者_开发知识库ation what should be the scope of datasource and transaction manager?As per my understanding both should be singleton. Is that correct?
Absolutely. Those aren't the kinds of objects that should have more than one floating around.
精彩评论