开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜