<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<!-- 该属性是在PropertyPlaceholderConfigurer的祖父类里面-->
<property name="locations">
<value>classpath:hibernate.properties</value>
</property>
</bean>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<!-- 该属性是在PropertyPlaceholderConfigurer的祖父类里面-->
<property name="locations">
<value>classpath:hibernate.properties</value>
</property>
</bean>