Spring连接MySQL、Oracle和SQL Server

其中applicationContext.xml的配置如下:

 

<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

<bean ></property>
</bean>

<bean >
   <list>
    <value>com/test/bean/User.hbm.xml</value>
   </list>
</property>
</bean>

<bean />
</property>
</bean>

<bean ></property>
</bean>

<bean ></property>
</bean>

<bean ></property>
</bean>

<bean ></property>
</bean>

</beans>