<bean id="ssoSessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="configLocation">
<value>classpath:sso-hibernate.cfg.xml</value>
</property>
<property name="configurationClass">
<value>org.hibernate.cfg.AnnotationConfiguration</value>
</property>
this is the part im unsure of....
<property name="configfile">
<value>classpath:sso-hibernate.properties</value>
</property>
</bean>
我知道有至少有六种方法来做到这一点,但为了我的需要,这将是最简单的。什么是将指定哪个hibernate.properties文件使用的属性的语法?原因是这个应用程序可能最终会有大约5或6个同步数据库连接,并且它们必须位于不同的文件中。这是什么正确的语法