Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 spring bean 中指定多个 sessionfactories。但是问题出在哪里,我需要根据一些用户价值加载这些会话工厂。当我想实例化它时,我将如何通过一些名称/键来引用 bean 中的 sessionfactory 设置。
谢谢