Spring configuration connect Oracle, MSSQL, MySQL and other databases. Srping according to the configuration in the configuration file format, for example:
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="org.gjt.mm.mysql.Driver"/>